updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / ydpdict / PKGBUILD
blobf9e228f6ed9202257a31a371bc2fff69cbbf3895
1 # Contributor: Piotr Kujawski <piotr@lao.pl>
3 pkgname=ydpdict
4 pkgver=1.0.0
5 pkgrel=1
6 pkgdesc="Interface for Polish-English Collins Dictionary"
7 url="http://toxygen.net/ydpdict"
8 arch=('i686')
9 license=('GPL2' 'LGPL2')
10 groups=office
11 depends=('libydpdict' 'libao')
12 backup=(/etc/ydpdict.conf)
13 source=(http://toxygen.net/ydpdict/$pkgname-$pkgver.tar.gz)
14 md5sums=('228ef3d3b1266d76e092e47a1d9535bf')
16 build() {
17         cd $srcdir/$pkgname-$pkgver
18         ./configure --prefix=/usr
19         make || return 1
20         make DESTDIR=$pkgdir install || return 1
21         mkdir $pkgdir/etc
22         mv $pkgdir/usr/etc/ydpdict.conf $pkgdir/etc/
23         rm -R $pkgdir/usr/etc