diff options
Diffstat (limited to 'user/libabw')
-rw-r--r-- | user/libabw/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/user/libabw/APKBUILD b/user/libabw/APKBUILD new file mode 100644 index 000000000..0bb3a9494 --- /dev/null +++ b/user/libabw/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Max Rees <maxcrees@me.com> +pkgname=libabw +pkgver=0.1.2 +pkgrel=0 +pkgdesc="Import filter and tools for AbiWord documents" +url="https://wiki.documentfoundation.org/DLP/Libraries/libabw" +arch="all" +options="!check" # No test suite. +license="MPL-2.0" +depends="" +depends_dev="librevenge-dev libxml2-dev zlib-dev boost-dev" +makedepends="$depends_dev doxygen gperf perl" +subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" +source="http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz" + +build() { + cd "$builddir" + + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-werror + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +tools() { + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr +} + +sha512sums="a365c1aa047a97a86eee6bce8463646bdf248a51013139ee288402a832fd545586e072d7c7fc11a56f42e3637de9e922197be20d0587e53c51fd80ced409a6cd libabw-0.1.2.tar.xz" |