archrelease: copy trunk to extra-x86_64
[arch-packages.git] / liblouis / trunk / PKGBUILD
blobcd5058764464b863d22e05ee049bbc4a34171535
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
4 pkgname=liblouis
5 pkgver=3.20.0
6 pkgrel=2
7 pkgdesc="Open-source braille translator and back-translator"
8 arch=(x86_64)
9 url="http://liblouis.org/"
10 license=('GPL3')
11 depends=(glibc)
12 makedepends=(help2man python perl)
13 source=(https://github.com/liblouis/liblouis/releases/download/v$pkgver/liblouis-$pkgver.tar.gz)
14 sha256sums=('5b152b96f94ba61cebd127df007a78ebf612b48edc78ba667fd481d0f160ca69')
16 build() {
17   cd $pkgname-$pkgver
18   ./configure --prefix=/usr --disable-static --enable-ucs4
19   make
22 package() {
23   cd $pkgname-$pkgver
24   make DESTDIR="$pkgdir" install
26   cd python
27   LD_PRELOAD+=":$srcdir/$pkgname-$pkgver/liblouis/.libs/liblouis.so"
28   python setup.py install --root="$pkgdir" --prefix="/usr" --optimize=1
30 # vim:set ts=2 sw=2 et: