7 pkgdesc="Synchronizing OpenPGP Key Server"
9 makedepends=('ocaml-cryptokit' 'db4.6')
10 url="https://code.google.com/p/sks-keyserver/"
12 backup=(etc/conf.d/sks etc/sks/sksconf etc/sks/forward.exim etc/sks/forward.postfix etc/sks/mailsync etc/sks/membership etc/sks/procmail)
13 source=(http://sks-keyserver.googlecode.com/files/$pkgname-$pkgver.tgz
16 http://archive.ubuntu.com/ubuntu/pool/universe/s/sks/${pkgname}_$_patchver+dpkgv3-6.debian.tar.gz
17 http://wiresphere.de/files/sks_web.tar.gz)
19 md5sums=('d09b73763cfc83ab08fcf72218606302'
20 '04cf445e39de1446e604aca204832fc7'
21 '81602c740f236f6090309dfbf1262aa9'
22 '9eac82d726d62043f5db3edf701f89d7'
23 '8d421d71ef3e4add73c30ba8ad7f5b25')
26 cd $srcdir/$pkgname-$pkgver
28 cp Makefile.local.unused Makefile.local
29 sed -i -e 's#/usr/include#/usr/include/db4.6#g' Makefile.local
30 sed -i -e "s#/usr/local#$pkgdir/usr#g" Makefile.local
31 sed -i -e "s#/usr/share/man#$pkgdir/usr/share/man#g" Makefile.local
33 patch -p1 -i ../debian/patches/500_debian_fhs.patch
38 make PREFIX="$pkgdir/usr" MANDIR="$pkgdir/usr/share/man" install
40 install -m755 -D $srcdir/${pkgname}.init $pkgdir/etc/rc.d/$pkgname || return 1
41 install -m644 -D $srcdir/${pkgname}.conf.d $pkgdir/etc/conf.d/$pkgname || return 1
43 mkdir -p $pkgdir/etc/sks $pkgdir/var/lib/sks
44 cp $srcdir/debian/debcfg/* $pkgdir/etc/sks
45 sed -i -e "s#/usr/lib/sendmail#/usr/sbin/sendmail#g" $pkgdir/etc/sks/sksconf
47 cp -R $srcdir/www $pkgdir/var/lib/sks