# Maintainer: Rafael Fontenelle pkgname=dico pkgver=2.7 pkgrel=1 pkgdesc="GNU Dictionary Server" arch=('x86_64') url="http://puszcza.gnu.org.ua/software/$pkgname" license=(GPL3) depends=(python gsasl wordnet guile pam) source=("ftp://download.gnu.org.ua/pub/release/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig}) sha1sums=('cc3901dc2e70491c4e9a6aa2d3fcac2c8d2f6790' 'SKIP') validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') # Sergey Poznyakoff # To validate, see instructions at: # https://puszcza.gnu.org.ua/software/dico/download.html build() { cd $pkgname-$pkgver ./configure \ --prefix=/usr \ --libexecdir=/usr/lib/dico \ --sysconfdir=/etc \ --with-pcre \ --with-wordnet make } check() { cd $pkgname-$pkgver make -k check } package() { cd $pkgname-$pkgver make PREFIX=/usr DESTDIR="$pkgdir" install }