diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2018-08-19 03:38:17 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2018-08-19 03:38:17 +0000 |
commit | cb6f083b369ee59de217c0504d471124d533325d (patch) | |
tree | 28e404754d754f3a852831d2b649010f70695e01 /user/libwps/APKBUILD | |
parent | 7ef2ed32d3d4442463f39d31380cff9432608231 (diff) | |
parent | c5975fc819d7b79180a3627a87974da9d18685e3 (diff) | |
download | packages-cb6f083b369ee59de217c0504d471124d533325d.tar.gz packages-cb6f083b369ee59de217c0504d471124d533325d.tar.bz2 packages-cb6f083b369ee59de217c0504d471124d533325d.tar.xz packages-cb6f083b369ee59de217c0504d471124d533325d.zip |
Merge branch 'libreoffice' into 'master'
LibreOffice and dependencies
I have made a deal with Satan.
See merge request !44
Diffstat (limited to 'user/libwps/APKBUILD')
-rw-r--r-- | user/libwps/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
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 <timo.teras@iki.fi> +# Maintainer: Max Rees <maxcrees@me.com> +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" |