From f151770ca2944aa4b1478299d731cf9d6ada8003 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 10 Apr 2015 14:42:35 +0000 Subject: main/libetonyek: moved to main --- main/libetonyek/APKBUILD | 55 +++++++++++++++++++++++++++++++++++++++++++++ testing/libetonyek/APKBUILD | 55 --------------------------------------------- 2 files changed, 55 insertions(+), 55 deletions(-) create mode 100644 main/libetonyek/APKBUILD delete mode 100644 testing/libetonyek/APKBUILD diff --git a/main/libetonyek/APKBUILD b/main/libetonyek/APKBUILD new file mode 100644 index 0000000000..ba35e388c6 --- /dev/null +++ b/main/libetonyek/APKBUILD @@ -0,0 +1,55 @@ +# Contributor: Timo Teräs +# Maintainer: Timo Teräs +pkgname=libetonyek +pkgver=0.1.1 +pkgrel=0 +pkgdesc="Import filter and tools for Apple Keynote presentations" +url="https://wiki.documentfoundation.org/DLP/Libraries/libetonyek" +arch="all" +license="MPL2" +depends="" +depends_dev="boost-dev librevenge-dev libxml2-dev zlib-dev" +makedepends="$depends_dev gperf doxygen" +install="" +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 +} + +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 + rm -f "$pkgdir"/usr/lib/*.la +} + +tools() { + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr +} + +md5sums="7adbc34bb4a33e26688c862e154a0d29 libetonyek-0.1.1.tar.xz" +sha256sums="9c6a5a0f15ae6cc6e2dfb2272b664dedda7918ed46f3756f9f29a72589d8c83e libetonyek-0.1.1.tar.xz" +sha512sums="a75463b1bf41eca19b3d1e9391683a42d2343b23b6bd1d69aa41c10ae0cef4d5794896976ba46ff364e7ead52c556e349c525bb12cea40242542037d60c2a2c4 libetonyek-0.1.1.tar.xz" diff --git a/testing/libetonyek/APKBUILD b/testing/libetonyek/APKBUILD deleted file mode 100644 index ba35e388c6..0000000000 --- a/testing/libetonyek/APKBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# Contributor: Timo Teräs -# Maintainer: Timo Teräs -pkgname=libetonyek -pkgver=0.1.1 -pkgrel=0 -pkgdesc="Import filter and tools for Apple Keynote presentations" -url="https://wiki.documentfoundation.org/DLP/Libraries/libetonyek" -arch="all" -license="MPL2" -depends="" -depends_dev="boost-dev librevenge-dev libxml2-dev zlib-dev" -makedepends="$depends_dev gperf doxygen" -install="" -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 -} - -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 - rm -f "$pkgdir"/usr/lib/*.la -} - -tools() { - mkdir -p "$subpkgdir"/usr - mv "$pkgdir"/usr/bin "$subpkgdir"/usr -} - -md5sums="7adbc34bb4a33e26688c862e154a0d29 libetonyek-0.1.1.tar.xz" -sha256sums="9c6a5a0f15ae6cc6e2dfb2272b664dedda7918ed46f3756f9f29a72589d8c83e libetonyek-0.1.1.tar.xz" -sha512sums="a75463b1bf41eca19b3d1e9391683a42d2343b23b6bd1d69aa41c10ae0cef4d5794896976ba46ff364e7ead52c556e349c525bb12cea40242542037d60c2a2c4 libetonyek-0.1.1.tar.xz" -- cgit v1.2.3