aboutsummaryrefslogtreecommitdiffstats
path: root/community/libwpg
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-01-28 18:18:41 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-01-28 18:18:41 -0600
commit0ffffb92625c51ff6af8286921f3eaacd8bf3915 (patch)
tree4ecc264e61ec23a3dfb093e29ca975b5acebb497 /community/libwpg
parent7be1b1f258fe011f55f109e83429e2ee5beb4e4d (diff)
downloadaports-0ffffb92625c51ff6af8286921f3eaacd8bf3915.tar.bz2
aports-0ffffb92625c51ff6af8286921f3eaacd8bf3915.tar.xz
community/libwpg: modernise and mark no tests
Diffstat (limited to 'community/libwpg')
-rw-r--r--community/libwpg/APKBUILD30
1 files changed, 11 insertions, 19 deletions
diff --git a/community/libwpg/APKBUILD b/community/libwpg/APKBUILD
index 3ac19d5b59..a8b38f9f86 100644
--- a/community/libwpg/APKBUILD
+++ b/community/libwpg/APKBUILD
@@ -2,32 +2,25 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libwpg
pkgver=0.3.2
-pkgrel=0
+pkgrel=1
pkgdesc="Import filter and tools for WordPerfect Graphics"
url="https://sourceforge.net/projects/libwpg/"
arch="all"
+options="!check" # No test suite.
license="MPL-2.0"
depends=""
-depends_dev="librevenge-dev libwpd-dev"
-makedepends="$depends_dev doxygen"
-install=""
+makedepends="doxygen librevenge-dev libwpd-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="http://downloads.sourceforge.net/project/libwpg/libwpg/libwpg-$pkgver/libwpg-$pkgver.tar.bz2"
-_builddir="$srcdir"/libwpg-$pkgver
prepare() {
- local i
- cd "$_builddir"
- update_config_sub || return 1
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ cd "$builddir"
+ update_config_sub
+ default_prepare
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -35,14 +28,13 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
tools() {