OCaml 4.14.0 rebuild
[arch-packages.git] / liblouis / repos / extra-x86_64 / PKGBUILD
blob68813d4e84648ad872c7f8efec70efb69ccd9e27
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
4 pkgname=liblouis
5 pkgver=3.22.0
6 pkgrel=1
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=('79bc508425822e4df2ea50ac4a648e80ef0878afcd979b655bfcac5c1766763f')
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: