summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-08-11 01:09:02 -0400
committerMax Rees <maxcrees@me.com>2018-08-11 01:09:02 -0400
commit7a1829c6dc6efac7b36c4406f3134320c1abd1c5 (patch)
tree51a076dfb67bc33fed790e5874c8b8fa7cfaf370
parentb5deb1cf460c3b4fcfbe6740f1a1b69678956089 (diff)
downloadpackages-7a1829c6dc6efac7b36c4406f3134320c1abd1c5.tar.gz
packages-7a1829c6dc6efac7b36c4406f3134320c1abd1c5.tar.bz2
packages-7a1829c6dc6efac7b36c4406f3134320c1abd1c5.tar.xz
packages-7a1829c6dc6efac7b36c4406f3134320c1abd1c5.zip
user/libwpd: pull in
-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"