diff options
author | Drew DeVault <sir@cmpwn.com> | 2020-01-24 20:36:16 -0500 |
---|---|---|
committer | Milan P. Stanić <mps@arvanta.net> | 2020-01-25 02:41:09 +0100 |
commit | 974152af90c6dc848f945d0d69ab48f6cf9a9fcf (patch) | |
tree | 1fda8e381fbdfb24c57e36813d2acc3f13ec5855 | |
parent | f85c84c720fce503f953ea8f57da1f71d39cae30 (diff) | |
download | aports-974152af90c6dc848f945d0d69ab48f6cf9a9fcf.tar.bz2 aports-974152af90c6dc848f945d0d69ab48f6cf9a9fcf.tar.xz |
testing/liblouis: new aport
-rw-r--r-- | testing/liblouis/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/liblouis/APKBUILD b/testing/liblouis/APKBUILD new file mode 100644 index 0000000000..e348423dce --- /dev/null +++ b/testing/liblouis/APKBUILD @@ -0,0 +1,43 @@ +# Maintainer: Drew DeVault <sir@cmpwn.com> +pkgname="liblouis" +pkgver="3.12.0" +pkgrel=0 +pkgdesc="Braille translator and back-translator" +url="http://liblouis.org/" +arch="all" +license="GPL-3.0" +depends="" +makedepends="" +install="" +subpackages="$pkgname-static $pkgname-dev $pkgname-bin:_bin" +source=" + $pkgname-$pkgver.tar.gz::https://github.com/liblouis/liblouis/releases/download/v$pkgver/liblouis-$pkgver.tar.gz + " +builddir="$srcdir/$pkgname-$pkgver" + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --enable-ucs4 + make +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" install +} + +_bin() { + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr +} + +sha512sums="dde18b6d8627f03219e0f4805836a78672175a569fcf006ba679f2108357890bbe286136f3231c26f3ca567cc33ef9350c6e2d6c544a352638f7f243abc4cbda liblouis-3.12.0.tar.gz" |