summaryrefslogtreecommitdiff
path: root/user/libwpd/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/libwpd/APKBUILD')
-rw-r--r--user/libwpd/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/user/libwpd/APKBUILD b/user/libwpd/APKBUILD
new file mode 100644
index 000000000..20307c037
--- /dev/null
+++ b/user/libwpd/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libwpd
+pkgver=0.10.2
+pkgrel=1
+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=""
+depends_dev="librevenge-dev"
+makedepends="$depends_dev doxygen"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
+source="http://downloads.sourceforge.net/project/libwpd/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2"
+
+prepare() {
+ update_config_sub
+ default_prepare
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+tools() {
+ mkdir -p "$subpkgdir"/usr
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr
+}
+
+sha512sums="879f96b6290d9db7ed4a431e84d18a1f7e81826394a8c63e03c3b6b49c578bfb417056956209d1934e34080471df28a40d93f45ac4f8a976631610d3103d6b7c libwpd-0.10.2.tar.bz2"