aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-25 01:46:52 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-25 01:56:37 +0000
commit0f3be09fee01a7467897339961f40c8a1d9bb7c1 (patch)
treef3cf9503a300ff60ed401b28326f8281322713bb
parente44f6bdd1477556162c7e9431f79bf490ba99b53 (diff)
downloadaports-0f3be09fee01a7467897339961f40c8a1d9bb7c1.tar.gz
aports-0f3be09fee01a7467897339961f40c8a1d9bb7c1.tar.bz2
aports-0f3be09fee01a7467897339961f40c8a1d9bb7c1.tar.xz
community/libvisio: modernize and add check
-rw-r--r--community/libvisio/APKBUILD18
1 files changed, 10 insertions, 8 deletions
diff --git a/community/libvisio/APKBUILD b/community/libvisio/APKBUILD
index dc6aedeaed..795e8c37c1 100644
--- a/community/libvisio/APKBUILD
+++ b/community/libvisio/APKBUILD
@@ -2,19 +2,17 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libvisio
pkgver=0.1.6
-pkgrel=0
+pkgrel=1
pkgdesc="Import filter and tools for MS Visio Diagrams"
url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio"
arch="all"
license="MPL2.0"
-depends=""
depends_dev="boost-dev librevenge-dev icu-dev libwpd-dev libwpg-dev libxml2-dev zlib-dev"
makedepends="$depends_dev doxygen gperf perl"
-install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz"
-builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
@@ -32,14 +30,18 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
tools() {