From 4acd00dae52d087540770d66094c3683dd68fa9e Mon Sep 17 00:00:00 2001 From: Max Rees Date: Sat, 11 Aug 2018 01:40:07 -0400 Subject: user/libwps: pull in, upgrade, fix license, mark no tests --- user/libwps/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 user/libwps/APKBUILD (limited to 'user/libwps') diff --git a/user/libwps/APKBUILD b/user/libwps/APKBUILD new file mode 100644 index 000000000..f58ca254b --- /dev/null +++ b/user/libwps/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Timo Teräs +# Maintainer: Max Rees +pkgname=libwps +pkgver=0.4.10 +pkgrel=0 +pkgdesc="Import filter and tools for Microsoft Works files" +url="https://sourceforge.net/projects/libwps/" +arch="all" +options="!check" # No test suite. +license="(MPL-2.0 OR LGPL-2.1+) AND BSD-3-Clause" +depends="" +depends_dev="librevenge-dev" +makedepends="$depends_dev doxygen" +subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" +source="http://downloads.sourceforge.net/project/libwps/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2" + +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="349fe4eb21abefc6091a38172a0f4227dd9df0050428ca2a28cada49c1fd1066c507facfd34ffa7a504d806bb515774cb25f0633adbf3cdddd74c9a601620392 libwps-0.4.10.tar.bz2" -- cgit v1.2.3-70-g09d2