aboutsummaryrefslogtreecommitdiffstats
path: root/community/libabw
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-02-05 14:47:11 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2018-02-05 14:47:11 +0000
commitf222479fe7f27b0aecf5d9da0b9284c0cb7dbd29 (patch)
tree899bfa88888b18aa2a3da18e0779c964c0c21efe /community/libabw
parent9419c58bbe467c97fd561a735bccec3ec95c5673 (diff)
downloadaports-f222479fe7f27b0aecf5d9da0b9284c0cb7dbd29.tar.bz2
aports-f222479fe7f27b0aecf5d9da0b9284c0cb7dbd29.tar.xz
community/libabw: upgrade to 0.1.2 and modernize
Diffstat (limited to 'community/libabw')
-rw-r--r--community/libabw/APKBUILD32
1 files changed, 9 insertions, 23 deletions
diff --git a/community/libabw/APKBUILD b/community/libabw/APKBUILD
index f3d525b002..770cddf19d 100644
--- a/community/libabw/APKBUILD
+++ b/community/libabw/APKBUILD
@@ -1,32 +1,21 @@
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer:
pkgname=libabw
-pkgver=0.1.1
-pkgrel=1
+pkgver=0.1.2
+pkgrel=0
pkgdesc="Import filter and tools for AbiWord documents"
url="https://wiki.documentfoundation.org/DLP/Libraries/libabw"
arch="all"
license="MPL-2.0"
-depends=""
depends_dev="librevenge-dev libxml2-dev zlib-dev boost-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
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
# workaround for boost 1.59
export CPPFLAGS='-DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED'
@@ -38,14 +27,13 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
- --disable-werror \
- || return 1
- make || return 1
+ --disable-werror
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
tools() {
@@ -53,6 +41,4 @@ tools() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr
}
-md5sums="6be55a46078b593ec20cad9bb8730c3e libabw-0.1.1.tar.xz"
-sha256sums="cfc698c2dd4ab592138a941ae26e2e18c3dac69bc196b5167df7f5eb88fc217e libabw-0.1.1.tar.xz"
-sha512sums="853dd86ecc79e8590d3163e05e145ad66240ae3cf12d206d021775a94bfb33d70aa5acdcdd193ac747baeae1ba0eed18099ea6f4515be23bdd70b431e96c4b1a libabw-0.1.1.tar.xz"
+sha512sums="a365c1aa047a97a86eee6bce8463646bdf248a51013139ee288402a832fd545586e072d7c7fc11a56f42e3637de9e922197be20d0587e53c51fd80ced409a6cd libabw-0.1.2.tar.xz"