Commit c49c350a authored by Leo's avatar Leo

community/libabw: upgrade to 0.1.3

parent d9c55aed
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer:
pkgname=libabw
pkgver=0.1.2
pkgver=0.1.3
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_dev="librevenge-dev libxml2-dev zlib-dev boost-dev"
makedepends="$depends_dev doxygen gperf perl"
makedepends="doxygen gperf perl librevenge-dev libxml2-dev zlib-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="https://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"
source="https://dev-www.libreoffice.org/src/libabw/libabw-$pkgver.tar.xz"
build() {
cd "$builddir"
# workaround for boost 1.59
export CPPFLAGS='-DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED'
./configure \
......@@ -26,13 +21,11 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--disable-werror
--localstatedir=/var
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......@@ -41,4 +34,4 @@ tools() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr
}
sha512sums="a365c1aa047a97a86eee6bce8463646bdf248a51013139ee288402a832fd545586e072d7c7fc11a56f42e3637de9e922197be20d0587e53c51fd80ced409a6cd libabw-0.1.2.tar.xz"
sha512sums="0d2646e1bad1e11b3da43714ac5931fc67ffdbc4e7a25a44ef5b6e6a41de1e0ae14596b4a87cceb07bf56dbbe9344622b3d60afcb054ee0ab8577ca8e9b5c289 libabw-0.1.3.tar.xz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment