Date: Monday, December 7, 2015 @ 11:02:12 Author: foutrelis Revision: 253320
archrelease: copy trunk to staging-i686, staging-x86_64 Added: libabw/repos/staging-i686/ libabw/repos/staging-i686/PKGBUILD (from rev 253319, libabw/trunk/PKGBUILD) libabw/repos/staging-x86_64/ libabw/repos/staging-x86_64/PKGBUILD (from rev 253319, libabw/trunk/PKGBUILD) -------------------------+ staging-i686/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ staging-x86_64/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) Copied: libabw/repos/staging-i686/PKGBUILD (from rev 253319, libabw/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2015-12-07 10:02:12 UTC (rev 253320) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: AndyRTR <andy...@archlinux.org> + +pkgname=libabw +pkgver=0.1.1 +pkgrel=2 +pkgdesc="a library that parses the file format of AbiWord documents" +arch=('i686' 'x86_64') +url="https://wiki.documentfoundation.org/DLP/Libraries/libabw" +license=('MPL') +depends=('librevenge' 'libxml2' ) +makedepends=('doxygen' 'gperf' 'boost') +source=(http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz + libabw-boost-1.59.patch::"https://github.com/LibreOffice/libabw/commit/ee2d0729.patch") +md5sums=('6be55a46078b593ec20cad9bb8730c3e' + '04ff06433764bac16632d00348d7bfae') + +prepare() { + cd $pkgname-$pkgver +# Fix build with Boost 1.59 + patch -p1 -i ../libabw-boost-1.59.patch + autoreconf -vi +} + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr + make +} + +check() { + cd $pkgname-$pkgver + make -k check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} Copied: libabw/repos/staging-x86_64/PKGBUILD (from rev 253319, libabw/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2015-12-07 10:02:12 UTC (rev 253320) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: AndyRTR <andy...@archlinux.org> + +pkgname=libabw +pkgver=0.1.1 +pkgrel=2 +pkgdesc="a library that parses the file format of AbiWord documents" +arch=('i686' 'x86_64') +url="https://wiki.documentfoundation.org/DLP/Libraries/libabw" +license=('MPL') +depends=('librevenge' 'libxml2' ) +makedepends=('doxygen' 'gperf' 'boost') +source=(http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz + libabw-boost-1.59.patch::"https://github.com/LibreOffice/libabw/commit/ee2d0729.patch") +md5sums=('6be55a46078b593ec20cad9bb8730c3e' + '04ff06433764bac16632d00348d7bfae') + +prepare() { + cd $pkgname-$pkgver +# Fix build with Boost 1.59 + patch -p1 -i ../libabw-boost-1.59.patch + autoreconf -vi +} + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr + make +} + +check() { + cd $pkgname-$pkgver + make -k check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +}