[arch-commits] Commit in liblouis/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sat Jun 30 18:17:55 UTC 2018
Date: Saturday, June 30, 2018 @ 18:17:54
Author: foutrelis
Revision: 327882
archrelease: copy trunk to staging-x86_64
Added:
liblouis/repos/staging-x86_64/
liblouis/repos/staging-x86_64/PKGBUILD
(from rev 327881, liblouis/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: liblouis/repos/staging-x86_64/PKGBUILD (from rev 327881, liblouis/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-06-30 18:17:54 UTC (rev 327882)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=liblouis
+pkgver=3.6.0
+pkgrel=2
+pkgdesc="Open-source braille translator and back-translator"
+arch=(x86_64)
+url="http://liblouis.org/"
+license=('GPL3')
+depends=(glibc)
+makedepends=(help2man python2 python)
+source=(https://github.com/liblouis/liblouis/releases/download/v$pkgver/liblouis-$pkgver.tar.gz)
+sha256sums=('003f5bf9d0fa827513d6f97a81a174ecba7afc0be94e880da259be88c133848c')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --disable-static --enable-ucs4
+ make -j1
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ cd python
+ LD_PRELOAD+=":$srcdir/$pkgname-$pkgver/liblouis/.libs/liblouis.so"
+ python2 setup.py install --root="$pkgdir" --prefix="/usr" --optimize=1
+ python setup.py install --root="$pkgdir" --prefix="/usr" --optimize=1
+}
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list