summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: efee697137ac0cb0e20858c8ed7ff7f2af7bb058 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pkgname=dico
pkgver=2.2
pkgrel=1
pkgdesc="GNU Dico is a flexible modular implementation of DICT server (RFC 2229). In contrast to another implementations, it does not depend on particular database format. GNU Dico handles database accesses using loadable modules."
arch=('any')
url="ftp://download.gnu.org.ua/pub/release/$pkgname"
license=(GPLv3)
depends=('libtool>=2.4.6' 'pcre>=8.38' 'guile>=2.0' 'python2>=2.7.11' 'gettext>=0.19.7')
source=("$url/$pkgname-$pkgver.tar.gz")
md5sums=('45145e4790ce64332b2d8e842ce5f957')

build() {
  cd "$srcdir/$pkgname-$pkgver/"
  patch -p1 < ../../stdio.patch
  ./configure
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver/"
  make PREFIX=/usr DESTDIR="$pkgdir" install
}