updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / libuninum / PKGBUILD
blob28ca9de2c6afeb38b78aa1016ccb06520485a780
1 # Maintainer: lolilolicon <lolilolicon_gmail_com>
3 pkgname=libuninum
4 pkgver=2.7
5 pkgrel=3
6 pkgdesc="C library for converting Unicode strings to integers and vice versa"
7 arch=('i686' 'x86_64')
8 url="http://billposer.org/Software/libuninum.html"
9 license=('LGPL')
10 depends=(gmp)
11 source=(http://billposer.org/Software/Downloads/$pkgname-$pkgver.tar.gz)
12 md5sums=('86bf829d4d9b1374f7577c4d812b108c')
14 build() {
15   cd "$srcdir/$pkgname-$pkgver"
17   ./configure --prefix=/usr --mandir=/usr/share/man
18   make
21 package() {
22   cd "$srcdir/$pkgname-$pkgver"
24   make DESTDIR="$pkgdir" install
26   # Don't install the TCL interface.
27   rm -f "$pkgdir"/usr/bin/NumberConverter.tcl
29   install -Dm644 README "$pkgdir"/usr/share/doc/$pkgname/README
30   install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING