aboutsummaryrefslogtreecommitdiffstats
path: root/main/apk-tools
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-06-16 07:44:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-06-16 07:44:04 +0000
commit2e666349484a85d257607c786e1928d5fbde133f (patch)
treeeb139a8922990322eefaa5741cc24947dfc65176 /main/apk-tools
parentbafaada30f78b3e5904391f90a87380026de3db8 (diff)
downloadaports-2e666349484a85d257607c786e1928d5fbde133f.tar.bz2
aports-2e666349484a85d257607c786e1928d5fbde133f.tar.xz
main/apk-tools: upgrade to 2.0.5
Diffstat (limited to 'main/apk-tools')
-rw-r--r--main/apk-tools/APKBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/main/apk-tools/APKBUILD b/main/apk-tools/APKBUILD
index d400722f70..2c96805b48 100644
--- a/main/apk-tools/APKBUILD
+++ b/main/apk-tools/APKBUILD
@@ -1,12 +1,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=apk-tools
-pkgver=2.0.4
+pkgver=2.0.5
pkgrel=0
pkgdesc="Alpine Package Keeper - package manager for alpine"
subpackages="$pkgname-static"
depends=
-makedepends="zlib-dev openssl-dev lua-dev pkgconfig"
+makedepends="zlib-dev openssl-dev pkgconfig"
source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
+ 0001-Makefile-do-not-require-lua-pkgconfig-unless-you-int.patch
"
url="http://git.alpinelinux.org/cgit/apk-tools/"
@@ -24,13 +25,13 @@ prepare() {
build() {
cd "$srcdir/$pkgname-$pkgver"
- make || return 1
- make static || return 1
+ make FULL_VERSION="$pkgver-r$pkgrel" || return 1
+ make FULL_VERSION="$pkgver-r$pkgrel" static || return 1
}
package() {
cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
+ make FULL_VERSION="$pkgver-r$pkgrel" DESTDIR="$pkgdir" install
cd "$pkgdir/sbin"
ln -s apk apk_add
ln -s apk apk_audit
@@ -47,4 +48,5 @@ static() {
"$subpkgdir"/sbin/apk.static
}
-md5sums="caed9a5c8b89d2940bc13596e4b32cce apk-tools-2.0.4.tar.bz2"
+md5sums="7f9234ab210557b064d7bd9b42833f0a apk-tools-2.0.5.tar.bz2
+f63d483b724e8e9344ce8cb965d5ed22 0001-Makefile-do-not-require-lua-pkgconfig-unless-you-int.patch"