aboutsummaryrefslogtreecommitdiffstats
path: root/community/libvisio/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libvisio/APKBUILD')
-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() {