diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-05-18 09:15:59 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-05-18 12:52:04 +0000 |
commit | e3ba9f554124c3cbad37a5364cf3a3e432901626 (patch) | |
tree | 42c1cc2bf1febd17f34c5a8b988238d362cb1b41 /community/libwps | |
parent | d45796e35d4b7b66a1aadec83e5979c596136383 (diff) | |
download | aports-e3ba9f554124c3cbad37a5364cf3a3e432901626.tar.bz2 aports-e3ba9f554124c3cbad37a5364cf3a3e432901626.tar.xz |
community/libwps: moved from main
Diffstat (limited to 'community/libwps')
-rw-r--r-- | community/libwps/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/community/libwps/APKBUILD b/community/libwps/APKBUILD new file mode 100644 index 0000000000..9e561c59a2 --- /dev/null +++ b/community/libwps/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Timo Teräs <timo.teras@iki.fi> +pkgname=libwps +pkgver=0.4.3 +pkgrel=0 +pkgdesc="Import filter and tools for Microsoft Works files" +url="http://sourceforge.net/projects/libwps/" +arch="all" +license="MPL2" +depends="" +depends_dev="librevenge-dev" +makedepends="$depends_dev doxygen" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" +source="http://downloads.sourceforge.net/project/libwps/libwps/libwps-$pkgver/libwps-$pkgver.tar.bz2" + +builddir="$srcdir"/libwps-$pkgver + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +tools() { + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr +} + +md5sums="027fb17fb9e43553aa6624dc18f830ac libwps-0.4.3.tar.bz2" +sha256sums="0c30407865a873ff76b6d5b2d2aa599f6af68936638c81ca8292449324042a6c libwps-0.4.3.tar.bz2" +sha512sums="a7be3997962a7aab4f471ef0d4b7c13d5af2bbcd6ab0ecd0f62f191ba6c9ce96f68043930ff1cdddc4f4690d893475a49ad534651bf5f5e37fa82d5ae52c851a libwps-0.4.3.tar.bz2" |