diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-10 23:34:03 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-16 18:07:50 +0000 |
commit | 782779443127567d59ab047f50c546b3b07b9534 (patch) | |
tree | 43dacf9fd2b030dc845591e91564d14196e6755b /main/librevenge | |
parent | 17c7b315a4fc73c993353491e1fcf655c950db1f (diff) | |
download | aports-782779443127567d59ab047f50c546b3b07b9534.tar.bz2 aports-782779443127567d59ab047f50c546b3b07b9534.tar.xz |
main/librevenge: modernise, add check
Diffstat (limited to 'main/librevenge')
-rw-r--r-- | main/librevenge/APKBUILD | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/main/librevenge/APKBUILD b/main/librevenge/APKBUILD index 7d24742d80..4b1b0562c8 100644 --- a/main/librevenge/APKBUILD +++ b/main/librevenge/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Timo Teräs <timo.teras@iki.fi> pkgname=librevenge pkgver=0.0.4 -pkgrel=0 +pkgrel=1 pkgdesc="Base library for writing document import filters" url="https://sourceforge.net/projects/libwpd/" arch="all" @@ -14,10 +14,8 @@ install="" subpackages="$pkgname-dev $pkgname-doc" source="https://sourceforge.net/projects/libwpd/files/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz" -_builddir="$srcdir"/$pkgname-$pkgver - build() { - cd "$_builddir" + cd "$builddir" # workaround for boost-1.59 # http://sourceforge.net/p/libwpd/tickets/6/ @@ -33,16 +31,18 @@ build() { --infodir=/usr/share/info \ --localstatedir=/var \ --disable-dependency-tracking \ - --enable-fast-install \ - || return 1 - make || return 1 + --enable-fast-install + make +} + +check() { + cd "$builddir" + make check } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -md5sums="2677cf97716c699146f999575ac0147d librevenge-0.0.4.tar.xz" -sha256sums="933f0729f04267cc354b9a02bc3e9afefa5512a3bdd0b45f159ee14a3e3347b2 librevenge-0.0.4.tar.xz" sha512sums="c4c2c98bac3522c8bd487058f4db19d85ad0d99159c4de4ffde91a10ea3adb7f995ebe8ccf6afcf533d81f50fb654bf265b9cd197508f85b5b68a101ca279712 librevenge-0.0.4.tar.xz" |