summaryrefslogblamecommitdiff
path: root/user/libwpd/APKBUILD
blob: 8a8c5a043ddd604089d6a40f7689b833ce34b19d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                 

             





                                                           
                                    
                                                      
                                                                          






                         











                                           







                                             
                                                                                                                                                                    
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libwpd
pkgver=0.10.3
pkgrel=0
pkgdesc="Import filter and tools for WordPerfect documents"
url="https://sourceforge.net/p/libwpd/"
arch="all"
options="!check"  # No test suite.
license="MPL-2.0 OR LGPL-2.1+"
depends=""
makedepends="doxygen librevenge-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="https://downloads.sourceforge.net/libwpd/$pkgname-$pkgver.tar.bz2"

prepare() {
	update_config_sub
	default_prepare
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

tools() {
	mkdir -p "$subpkgdir"/usr
	mv "$pkgdir"/usr/bin "$subpkgdir"/usr
}

sha512sums="cf3db714d424c32ecf5740b17d9f1721f228d3a7edbd1cc7a0f4b30f7ac9b1024cf45c0727b9f916b7672321e05f0d791c7f7f5ad5d47fedcea9ad9e886eb459  libwpd-0.10.3.tar.bz2"