summaryrefslogtreecommitdiff
path: root/user/wv/APKBUILD
diff options
context:
space:
mode:
authormultiplexd <multi@in-addr.xyz>2019-01-07 20:51:16 +0000
committermultiplexd <multi@in-addr.xyz>2019-01-07 21:22:38 +0000
commit1ad06a5d72f1861e8a5a8223a36bb650919a0d89 (patch)
tree972ef4bf9b522ef137c53088f83c3505a089e398 /user/wv/APKBUILD
parent6c9721136977ab20ddc576bc400eab4067391dcb (diff)
downloadpackages-1ad06a5d72f1861e8a5a8223a36bb650919a0d89.tar.gz
packages-1ad06a5d72f1861e8a5a8223a36bb650919a0d89.tar.bz2
packages-1ad06a5d72f1861e8a5a8223a36bb650919a0d89.tar.xz
packages-1ad06a5d72f1861e8a5a8223a36bb650919a0d89.zip
user/wv: new package
Diffstat (limited to 'user/wv/APKBUILD')
-rw-r--r--user/wv/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/wv/APKBUILD b/user/wv/APKBUILD
new file mode 100644
index 000000000..ec9a0a081
--- /dev/null
+++ b/user/wv/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: multiplexd <multi@in-addr.xyz>
+pkgname=wv
+pkgver=1.2.9
+pkgrel=0
+pkgdesc="A library that can load and parse Word 2000, 97, 95 and 6 file formats"
+url="https://sourceforge.net/projects/wvware"
+arch="all"
+options="!check" # No test suite.
+license="GPL-2.0+ AND RSA-MD5"
+subpackages="$pkgname-dev $pkgname-doc"
+depends=""
+makedepends="libgsf-dev libpng-dev bzip2-dev"
+source="https://www.abisource.com/downloads/wv/$pkgver/wv-$pkgver.tar.gz"
+
+prepare() {
+ update_config_sub
+ default_prepare
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="ae5c762012595ce8922bfda8749ad3e9cb055edab30152c3a5feaaf3ca6601f357d1e301b179e9a5860cd99452dd6e63e5f44f5bcc12f8db148bdd334e0200a5 wv-1.2.9.tar.gz"