updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / unicode / PKGBUILD
blob116fcdedd3524970b2049394802e6b99c4a69bc0
1 # Contributor: Andreas Hübner <andhu@gmx.de>
2 pkgname=unicode
3 pkgver=0.9.5
4 pkgrel=1
5 pkgdesc="A command line unicode database query tool"
6 url="http://kassiopeia.juls.savba.sk/~garabik/software/unicode/"
7 arch=('any')
8 license=('GPL3')
9 depends=('python2>=2.3')
10 backup=()
11 options=()
12 source=(http://kassiopeia.juls.savba.sk/~garabik/software/unicode/${pkgname}_${pkgver}.tar.gz
13         http://www.unicode.org/Public/UNIDATA/UnicodeData.txt)
14 md5sums=('754ed23af5dfe40f38c82b28329f6593'
15          'f5338142b5dd42c577fe7a6daed1cf4b')
17 build() {
18   cd "$srcdir/$pkgname-$pkgver"
20   sed -i '1s/python$/python2/' unicode
21   sed -i '1s/python$/python2/' paracode
23   install -Dm755 unicode $pkgdir/usr/bin/unicode
24   install -Dm755 paracode $pkgdir/usr/bin/paracode
26   install -Dm644 unicode.1 $pkgdir/usr/share/man/man1/unicode.1
27   install -Dm644 paracode.1 $pkgdir/usr/share/man/man1/paracode.1
29   install -Dm644 $srcdir/UnicodeData.txt $pkgdir/usr/share/unicode/UnicodeData.txt
32 # vim:set ts=2 sw=2 et: