1 # Maintainer: Steven Allen <steven@stebalien.com>
4 true && pkgname=('moira-clients' 'libmoira')
5 _srcpkgname='debathena-moira'
9 url="http://debathena.mit.edu/"
10 arch=('x86_64' 'i686')
13 depends=('krb5' 'ncurses' 'termcap' 'libmoira')
14 options=('!buildflags')
15 pkgdesc="Athena Service Management system"
17 source=("http://debathena.mit.edu/apt/pool/debathena/d/${_srcpkgname}/${_srcpkgname}_${_srcpkgver}.orig.tar.gz")
18 md5sums=('6214e57ae21064dfb78856dfd90a3704')
21 cd "$srcdir/$_srcpkgname-$_srcpkgver"
22 unset LDFLAGS CXXFLAGS CFLAGS
29 ./configure --sysconfdir=/etc --prefix=/usr
42 depends=('ncurses' 'e2fsprogs')
43 true && pkgdesc="Athena Service Management system (libraries)."
45 cd "$srcdir/$_srcpkgname-$_srcpkgver/lib"
46 install -d -m755 "$pkgdir/usr/lib/"
47 make DESTDIR="$pkgdir" install
48 rm -r "$pkgdir"/usr/lib/*.la
49 install -D -m644 "../include/mit-copyright.h" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
51 package_moira-clients() {
52 depends=('krb5' 'ncurses' 'termcap' 'libmoira')
53 true && pkgdesc="Athena Service Management system (clients)."
55 cd "$srcdir/$_srcpkgname-$_srcpkgver/clients"
57 install -d -m755 "$pkgdir/usr/bin/" "$pkgdir/usr/lib/"
58 make DESTDIR="$pkgdir" install
59 rm -r "$pkgdir"/usr/lib/*.la
60 mv "$pkgdir"/usr/bin/{chfn,moira-chfn}
61 mv "$pkgdir"/usr/bin/{chsh,moira-chsh}
62 install -D -m644 "../include/mit-copyright.h" "$pkgdir/usr/share/licenses/$_srcpkgname/LICENSE"
65 # vim:set ts=2 sw=2 et: