# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Contributor: SmackleFunky # Contributor: Enrico Morelli pkgname=dictd pkgver=1.9.15 pkgrel=6 pkgdesc="Online dictionary client and server" url="http://www.dict.org/" license=("GPL") arch=(i686 x86_64) depends=('zlib') makedepends=('flex') backup=(etc/dict/dictd.conf \ etc/dict/dict.conf \ etc/dict/site.info \ etc/conf.d/dictd \ etc/xinetd.d/dictd) source=(ftp://ftp.at0.dict.org/pub/dict/dictd-$pkgver.tar.gz \ dictd \ dict.conf \ dictd.conf \ dictd.confd \ site.info \ dictd.xinetd) md5sums=('68c1cffa952012ba85a7271311de55e9' '6542df4fc585773fc03f1a088730126b' 'fb72f7d8c55f84b1b37bbc8d33a8e55a' '33b467f10a606af7fa36782d67b67616' '838887fee38ae4cebd652d399b1f2266' 'b8cabf913876e544d919c7f20ff8db9e' 'b7dbc9529df13ff895dae2b4abd080d6') build() { cd $startdir/src/$pkgname-$pkgver ./configure --enable-dictorg --prefix=/usr --sysconfdir=/etc/dict make || return 1 make DESTDIR=$startdir/pkg install && \ install -D -m 0755 $startdir/src/dictd $startdir/pkg/etc/rc.d/dictd && \ install -D -m 0644 $startdir/src/dictd.xinetd $startdir/pkg/etc/xinetd.d/dictd && \ install -D -m 0644 $startdir/src/dictd.conf $startdir/pkg/etc/dict/dictd.conf && \ install -D -m 0644 $startdir/src/dict.conf $startdir/pkg/etc/dict/dict.conf && \ install -D -m 0644 $startdir/src/site.info $startdir/pkg/etc/dict/site.info && \ install -D -m 0644 $startdir/src/dictd.confd $startdir/pkg/etc/conf.d/dictd }