updated on Tue Jan 10 00:10:07 UTC 2012
[aur-mirror.git] / unscd / PKGBUILD
blobd4ba93e11727aaba50e32346b118719183f981a5
1 # Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
3 pkgname=unscd
4 pkgver=0.47
5 pkgrel=2
6 pkgdesc='Drop-in replacement for glibc nscd which is designed for simplicity and stability'
7 arch=('i686' 'x86_64')
8 url='http://busybox.net/~vda/unscd/'
9 license=('GPL2')
10 source=("http://busybox.net/~vda/unscd/nscd-$pkgver.c"
11   'rc.d' 'rc.conf' 'unscd.conf' 'unscd.8')
12 md5sums=('90af0b57648d2199209051f0d57ba286'
13          '31562cdafef913f7fbed61d8d0054a84'
14          '60f03abf55a2a13fc59b190962c21e37'
15          'cfbab3d1c5b0fe362a218ad15ad2d6e3'
16          '9069ba3a3a07673ab1a7cc70018b387e')
18 build() {
19   sed -i 's,/etc/nscd.conf,/etc/unscd.conf,g' "nscd-$pkgver.c"
20   gcc $CFLAGS $LDFLAGS "nscd-$pkgver.c" -o unscd
23 package() {
24   install -D -m 755 unscd "$pkgdir/usr/sbin/unscd"
25   install -D -m 644 unscd.conf "$pkgdir/etc/unscd.conf"
26   install -D -m 644 unscd.8 "$pkgdir/usr/share/man/man8/unscd.8"
27   install -D -m 755 rc.d "$pkgdir/etc/rc.d/unscd"
28   install -D -m 644 rc.conf "$pkgdir/etc/conf.d/unscd"
31 # vim:set ts=2 sw=2 ft=sh et: