summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 698952e5fe77411146beb02da002eb9cd338634c (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)."
arch=('any')
url="ftp://download.gnu.org.ua/pub/release/$pkgname"
license=(GPLv3)
depends=()
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
}