db-move: moved evolution from [testing] to [extra] (x86_64)
[arch-packages.git] / liblouis / trunk / PKGBUILD
blobdc99cf325a65d6b3b9eae548934591e401426df9
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
4 pkgname=liblouis
5 pkgver=3.25.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=('d720aa5fcd51de925a28ae801b8b2ca76ee67e2360b40055c679bce8e565f251')
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: