aboutsummaryrefslogtreecommitdiffstats
path: root/community/liborcus/APKBUILD
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-24 20:25:59 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-24 20:25:59 +0000
commitb5d4f85fb2ae236599a80ad8bb03b3718e48daec (patch)
treebef9a0280dda77c837e8f65b903a5e5d727d8527 /community/liborcus/APKBUILD
parente213b8d5a030d6ee2b3ae28d6778acc5c2f8ae1c (diff)
downloadaports-b5d4f85fb2ae236599a80ad8bb03b3718e48daec.tar.gz
aports-b5d4f85fb2ae236599a80ad8bb03b3718e48daec.tar.bz2
aports-b5d4f85fb2ae236599a80ad8bb03b3718e48daec.tar.xz
community/liborcus: modernize add check
Diffstat (limited to 'community/liborcus/APKBUILD')
-rw-r--r--community/liborcus/APKBUILD18
1 files changed, 10 insertions, 8 deletions
diff --git a/community/liborcus/APKBUILD b/community/liborcus/APKBUILD
index 72085e91c4..b1cf9f43f7 100644
--- a/community/liborcus/APKBUILD
+++ b/community/liborcus/APKBUILD
@@ -2,8 +2,8 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=liborcus
pkgver=0.12.1
-pkgrel=0
-pkgdesc="library for processing spreadsheet documents"
+pkgrel=1
+pkgdesc="Library for processing spreadsheet documents"
url="https://gitlab.com/orcus/orcus"
arch="all"
license="MPL2"
@@ -24,16 +24,18 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
- --disable-python \
- || return 1
- make || return 1
+ --disable-python
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
-md5sums="14d39b4ba7e44123d63b7a1d1358026a liborcus-0.12.1.tar.xz"
-sha256sums="d1b936c66944d23e1b2582d0e7129e44670052510d03f19fef644e9814ae2b9c liborcus-0.12.1.tar.xz"
sha512sums="294b24ad7fccae77070edd9d8e6e1a370f609ec8af9a2c58567431e641fc0f3f27c4cd4b6ac1825a8179a22a1d1a81d84827859eb631d2625194f9e59ca1a8c3 liborcus-0.12.1.tar.xz"