[arch-commits] Commit in liblouis/repos (4 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sat Dec 24 11:23:16 UTC 2016


    Date: Saturday, December 24, 2016 @ 11:23:15
  Author: bpiotrowski
Revision: 284604

archrelease: copy trunk to staging-i686, staging-x86_64

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

-------------------------+
 staging-i686/PKGBUILD   |   31 +++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   31 +++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

Copied: liblouis/repos/staging-i686/PKGBUILD (from rev 284602, liblouis/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2016-12-24 11:23:15 UTC (rev 284604)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=liblouis
+pkgver=3.0.0
+pkgrel=2
+pkgdesc="Open-source braille translator and back-translator"
+arch=(i686 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)
+sha1sums=('b692e4ee37fb898a53e4fd5bdc86cd2f7b3be2e1')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure --prefix=/usr --disable-static
+  make -j1
+}
+
+package() {
+  cd "$srcdir/$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:

Copied: liblouis/repos/staging-x86_64/PKGBUILD (from rev 284602, liblouis/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2016-12-24 11:23:15 UTC (rev 284604)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=liblouis
+pkgver=3.0.0
+pkgrel=2
+pkgdesc="Open-source braille translator and back-translator"
+arch=(i686 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)
+sha1sums=('b692e4ee37fb898a53e4fd5bdc86cd2f7b3be2e1')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure --prefix=/usr --disable-static
+  make -j1
+}
+
+package() {
+  cd "$srcdir/$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