[arch-commits] Commit in liblouis/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 16:50:43 UTC 2020


    Date: Monday, November 9, 2020 @ 16:50:42
  Author: felixonmars
Revision: 399821

archrelease: copy trunk to staging-x86_64

Added:
  liblouis/repos/staging-x86_64/
  liblouis/repos/staging-x86_64/PKGBUILD
    (from rev 399820, liblouis/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: liblouis/repos/staging-x86_64/PKGBUILD (from rev 399820, liblouis/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-11-09 16:50:42 UTC (rev 399821)
@@ -0,0 +1,30 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=liblouis
+pkgver=3.15.0
+pkgrel=2
+pkgdesc="Open-source braille translator and back-translator"
+arch=(x86_64)
+url="http://liblouis.org/"
+license=('GPL3')
+depends=(glibc)
+makedepends=(help2man python perl)
+source=(https://github.com/liblouis/liblouis/releases/download/v$pkgver/liblouis-$pkgver.tar.gz)
+sha256sums=('3a381b132b140747e5fcd47354da6cf43959da2167f8bc598430bbac51224467')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --disable-static --enable-ucs4
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  cd python
+  LD_PRELOAD+=":$srcdir/$pkgname-$pkgver/liblouis/.libs/liblouis.so"
+  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