summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-08-09 22:29:47 -0400
committerMax Rees <maxcrees@me.com>2018-08-09 22:29:47 -0400
commit7fbed5c47e31aaa1480f171af6b21228ee1c34dc (patch)
treea4380189162b996fdb8a4fcac734fdab2470d375 /user
parentc035e0c2e368c8371b0d3dc9b71e6f797beef4cc (diff)
downloadpackages-7fbed5c47e31aaa1480f171af6b21228ee1c34dc.tar.gz
packages-7fbed5c47e31aaa1480f171af6b21228ee1c34dc.tar.bz2
packages-7fbed5c47e31aaa1480f171af6b21228ee1c34dc.tar.xz
packages-7fbed5c47e31aaa1480f171af6b21228ee1c34dc.zip
user/libetonyek: pull in
Diffstat (limited to 'user')
-rw-r--r--user/libetonyek/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/user/libetonyek/APKBUILD b/user/libetonyek/APKBUILD
new file mode 100644
index 000000000..a3ac6b395
--- /dev/null
+++ b/user/libetonyek/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=libetonyek
+pkgver=0.1.8
+pkgrel=0
+pkgdesc="Import filter and tools for Apple iWork documents"
+url="https://wiki.documentfoundation.org/DLP/Libraries/libetonyek"
+arch="all"
+license="MPL-2.0"
+depends_dev="glm-dev boost-dev librevenge-dev liblangtag-dev"
+makedepends="$depends_dev zlib-dev libxml2-dev gperf doxygen mdds"
+checkdepends="cppunit-dev"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
+source="http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --disable-werror \
+ --disable-static
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+tools() {
+ mkdir -p "$subpkgdir"/usr
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr
+}
+
+sha512sums="c8c08100b0c75e0420bbcd796f7cb9285e77ce1be34757df5b237d114a428a4a6094f12e442f81769a2fac5be45ea4376ff9e1d90448e18b3443bfe7c645a865 libetonyek-0.1.8.tar.xz"