aboutsummaryrefslogtreecommitdiffstats
path: root/community/libfreehand
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-03-13 08:41:17 +0000
committerSören Tempel <soeren+git@soeren-tempel.net>2018-03-13 10:53:00 +0100
commit8f01ea420af96234a9b4d66bf45884a30626c754 (patch)
tree6231ea6d5df53ad894fd7dc7733316fe01ebcec2 /community/libfreehand
parent8b20a6b48d614aac6158da825cb33beba80a679b (diff)
downloadaports-8f01ea420af96234a9b4d66bf45884a30626c754.tar.bz2
aports-8f01ea420af96234a9b4d66bf45884a30626c754.tar.xz
community/libfreehand: add check
Diffstat (limited to 'community/libfreehand')
-rw-r--r--community/libfreehand/APKBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/community/libfreehand/APKBUILD b/community/libfreehand/APKBUILD
index 9842331767..871a3b745c 100644
--- a/community/libfreehand/APKBUILD
+++ b/community/libfreehand/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libfreehand
pkgver=0.1.2
-pkgrel=0
+pkgrel=1
pkgdesc="Import filter and tools for Adobe FreeHand documents"
url="https://wiki.documentfoundation.org/DLP/Libraries/libfreehand"
arch="all"
@@ -13,7 +13,8 @@ makedepends="$depends_dev gperf perl doxygen librevenge-dev zlib-dev"
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
@@ -33,6 +34,11 @@ build() {
make
}
+check() {
+ cd "$builddir"
+ make check
+}
+
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install