aboutsummaryrefslogtreecommitdiffstats
path: root/community/libetonyek/APKBUILD
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-02-03 22:46:20 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2018-02-03 22:46:52 +0000
commit9ad9db36d1eea73fa311b03717bc6c249301b591 (patch)
tree0e2461ced3c5d4b3a98b5025da251ba6d29605ad /community/libetonyek/APKBUILD
parentb67c0d0dfa311a78d4d134c04c61f95c085277a1 (diff)
downloadaports-9ad9db36d1eea73fa311b03717bc6c249301b591.tar.gz
aports-9ad9db36d1eea73fa311b03717bc6c249301b591.tar.bz2
aports-9ad9db36d1eea73fa311b03717bc6c249301b591.tar.xz
community/libetonyek: upgrade 0.1.7 and modernize
Diffstat (limited to 'community/libetonyek/APKBUILD')
-rw-r--r--community/libetonyek/APKBUILD32
1 files changed, 9 insertions, 23 deletions
diff --git a/community/libetonyek/APKBUILD b/community/libetonyek/APKBUILD
index 11afd63c9c..b5b5c524ec 100644
--- a/community/libetonyek/APKBUILD
+++ b/community/libetonyek/APKBUILD
@@ -1,32 +1,21 @@
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libetonyek
-pkgver=0.1.6
+pkgver=0.1.7
pkgrel=0
pkgdesc="Import filter and tools for Apple Keynote presentations"
url="https://wiki.documentfoundation.org/DLP/Libraries/libetonyek"
arch="all"
license="MPL-2.0"
-depends=""
depends_dev="glm-dev boost-dev librevenge-dev libxml2-dev zlib-dev liblangtag-dev"
-makedepends="$depends_dev gperf doxygen mdds1.0-dev"
-install=""
+makedepends="$depends_dev gperf doxygen mdds-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz"
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -36,14 +25,13 @@ build() {
--infodir=/usr/share/info \
--localstatedir=/var \
--disable-werror \
- --disable-static \
- || return 1
- make || return 1
+ --disable-static
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
tools() {
@@ -51,6 +39,4 @@ tools() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr
}
-md5sums="dfe25b0c7739283a5c61a930ea1f9bf8 libetonyek-0.1.6.tar.xz"
-sha256sums="df54271492070fbcc6aad9f81ca89658b25dd106cc4ab6b04b067b7a43dcc078 libetonyek-0.1.6.tar.xz"
-sha512sums="10ae0403d98f33b27be4c3c905dec3df48cc01ce438f8760298edeadb76dd74da997edbd7dc03635fbc168b318bfe6e130f2306f495dfbf4135dd6dfcccabb4e libetonyek-0.1.6.tar.xz"
+sha512sums="bec4819e161f68b7315567464bfe9e0259a59822a7926c54208cceb04061664a1220716539816a24a6f259eac6f7063c72750aaaf8d8886e3bfb0c4d5f1e0b0f libetonyek-0.1.7.tar.xz"