1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
6 pkgdesc="Number to number name and money text conversion library"
8 url="https://github.com/Numbertext/libnumbertext"
9 license=('LGPL3' 'custom')
11 source=(${pkgname}-${pkgver}::https://github.com/Numbertext/libnumbertext/archive/$pkgver.tar.gz)
12 sha256sums=('80aad7cab123edc614f904d9f145d1d15cf465084a1a15fca2117525dc746034')
21 ./configure --prefix=/usr
22 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
33 make DESTDIR="$pkgdir/" install
34 # add dual license file
35 install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 COPYING