diff --git a/testing/podofo/APKBUILD b/community/podofo/APKBUILD similarity index 83% rename from testing/podofo/APKBUILD rename to community/podofo/APKBUILD index 421ff0a82ad..754e0cb941f 100644 --- a/testing/podofo/APKBUILD +++ b/community/podofo/APKBUILD @@ -8,15 +8,14 @@ url="http://podofo.sourceforge.net" arch="all" license="GPL" depends= -depends_dev="" -makedepends="$depends_dev tiff-dev libpng-dev -fontconfig-dev cmake lua-dev openssl-dev libidn-dev" +makedepends="tiff-dev libpng-dev fontconfig-dev +cmake lua-dev openssl-dev libidn-dev" install="" subpackages="$pkgname-dev $pkgname-doc" source="http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr .. \ @@ -27,7 +26,7 @@ build() { make || return 1 } package() { - cd "$_builddir"/build + cd "$builddir"/build make DESTDIR="$pkgdir" install || return 1 }