From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/dictd/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 community/dictd/PKGBUILD (limited to 'community/dictd/PKGBUILD') diff --git a/community/dictd/PKGBUILD b/community/dictd/PKGBUILD new file mode 100644 index 000000000..4ccab18f5 --- /dev/null +++ b/community/dictd/PKGBUILD @@ -0,0 +1,46 @@ +# $Id: PKGBUILD 41057 2011-03-03 15:30:07Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: SmackleFunky +# Contributor: Enrico Morelli + +pkgname=dictd +pkgver=1.12.0 +pkgrel=1 +pkgdesc="Online dictionary client and server" +url="http://sourceforge.net/projects/dict/" +license=("GPL") +arch=(i686 x86_64) +depends=('zlib' 'libmaa') +makedepends=('flex') +backup=(etc/dict/dictd.conf + etc/dict/dict.conf + etc/dict/site.info + etc/conf.d/dictd + etc/xinetd.d/dictd) +source=(http://downloads.sourceforge.net/project/dict/dictd/dictd-$pkgver/dictd-$pkgver.tar.gz + dictd + dict.conf + dictd.conf + dictd.confd + site.info + dictd.xinetd) +md5sums=('71aaf3a697ea2e9409643f11ea85b53a' + '6542df4fc585773fc03f1a088730126b' + 'fb72f7d8c55f84b1b37bbc8d33a8e55a' + '64cd6ffdb40fb3367224f91ac44926ac' + '838887fee38ae4cebd652d399b1f2266' + 'b8cabf913876e544d919c7f20ff8db9e' + 'b7dbc9529df13ff895dae2b4abd080d6') + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --enable-dictorg --prefix=/usr --sysconfdir=/etc/dict + make + make DESTDIR=$pkgdir install + install -D -m 0755 $srcdir/dictd $pkgdir/etc/rc.d/dictd + install -D -m 0644 $srcdir/dictd.xinetd $pkgdir/etc/xinetd.d/dictd + install -D -m 0644 $srcdir/dictd.conf $pkgdir/etc/dict/dictd.conf + install -D -m 0644 $srcdir/dict.conf $pkgdir/etc/dict/dict.conf + install -D -m 0644 $srcdir/site.info $pkgdir/etc/dict/site.info + install -D -m 0644 $srcdir/dictd.confd $pkgdir/etc/conf.d/dictd +} -- cgit v1.2.3-54-g00ecf