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/libstaroffice | |
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/libstaroffice')
-rw-r--r-- | user/libstaroffice/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/user/libstaroffice/APKBUILD b/user/libstaroffice/APKBUILD new file mode 100644 index 000000000..bad200ada --- /dev/null +++ b/user/libstaroffice/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Max Rees <maxcrees@me.com> +pkgname=libstaroffice +pkgver=0.0.6 +pkgrel=0 +pkgdesc="Import filter for StarOffice documents" +url="https://github.com/fosnola/libstaroffice" +arch="all" +options="!check" # No test suite. +license="MPL-2.0 OR LGPL-2.0+" +depends="" +depends_dev="librevenge-dev" +makedepends="$depends_dev zlib-dev boost-dev doxygen" +subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" +source="https://github.com/fosnola/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +tools() { + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr +} + +sha512sums="9b5313a069e29265875f2e744b6b39c261f578d72f67fdefe1454c092aaa28399e1b3dfcb3a2f881f9a60674e0115a29350fba3ee37fb442f0a837982077f324 libstaroffice-0.0.6.tar.xz" |