aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2011-07-14 14:50:32 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2011-07-14 14:51:10 +0000
commit523b9911df7b6c0d2e451b91fc52adbb3794f883 (patch)
tree7c63549ac04086966793b8bf581561136158225a
parente90917c7b54536e387a56d8ea57fdf37ff748a56 (diff)
downloadaports-523b9911df7b6c0d2e451b91fc52adbb3794f883.tar.bz2
aports-523b9911df7b6c0d2e451b91fc52adbb3794f883.tar.xz
main/open-vm-tools-grsec: fix pkgrel
-rw-r--r--main/open-vm-tools-grsec/APKBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/main/open-vm-tools-grsec/APKBUILD b/main/open-vm-tools-grsec/APKBUILD
index 4c4bfbc939..5daaec3b95 100644
--- a/main/open-vm-tools-grsec/APKBUILD
+++ b/main/open-vm-tools-grsec/APKBUILD
@@ -2,21 +2,24 @@
_flavor=grsec
_realname=open-vm-tools
-_realver=2011.06.27
-_realsubver=437995
+_mypkgrel=2
+
+# source open-vm-tools version
+if [ -f ../../main/$_realname/APKBUILD ]; then
+ . ../../main/$_realname/APKBUILD
+fi
+
+_realver="$pkgver"
+_realsubver="$_pkgsubver"
# source the kernel version
if [ -f ../../main/linux-${_flavor}/APKBUILD ]; then
. ../../main/linux-${_flavor}/APKBUILD
fi
-_kver=$pkgver
_kernelver="$pkgver-r$pkgrel"
-_abi_release=${pkgver}-${_flavor}
_kpkgrel=$pkgrel
pkgname="$_realname-$_flavor"
-pkgver=$_kver
-_mypkgrel=0
pkgrel=$(($_kpkgrel + $_mypkgrel))
pkgdesc="The Open Virtual Machine Tools are the open source implementation of VMware Tools."