archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libabw / trunk / PKGBUILD
blobeb1f22723cf45b64c46e13d11b74e5eda09b7003
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
3 pkgname=libabw
4 pkgver=0.1.3
5 pkgrel=3
6 pkgdesc="a library that parses the file format of AbiWord documents"
7 arch=('x86_64')
8 url="https://wiki.documentfoundation.org/DLP/Libraries/libabw"
9 license=('MPL')
10 depends=('librevenge' 'libxml2' )
11 makedepends=('doxygen' 'gperf' 'boost')
12 source=(https://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz)
13 sha256sums=('e763a9dc21c3d2667402d66e202e3f8ef4db51b34b79ef41f56cacb86dcd6eed')
15 build() {
16   cd $pkgname-$pkgver
17   ./configure --prefix=/usr
18   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
19   make
22 check() {
23   cd $pkgname-$pkgver
24   make -k check
27 package() {
28   cd $pkgname-$pkgver
29   make DESTDIR="$pkgdir" install