1 # Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
6 pkgdesc='Drop-in replacement for glibc nscd which is designed for simplicity and stability'
8 url='http://busybox.net/~vda/unscd/'
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')
19 sed -i 's,/etc/nscd.conf,/etc/unscd.conf,g' "nscd-$pkgver.c"
20 gcc $CFLAGS $LDFLAGS "nscd-$pkgver.c" -o unscd
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: