diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2011-07-14 14:50:54 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2011-07-14 14:51:10 +0000 |
commit | fe9d637690e1fe3b3f6a55671821bbad3dd96943 (patch) | |
tree | b825de0514ab65fd85a8e5aa684c25a29645408e /main/open-vm-tools-vserver | |
parent | 523b9911df7b6c0d2e451b91fc52adbb3794f883 (diff) | |
download | aports-fe9d637690e1fe3b3f6a55671821bbad3dd96943.tar.bz2 aports-fe9d637690e1fe3b3f6a55671821bbad3dd96943.tar.xz |
main/open-vm-tools-vserver: fix pkgrel
Diffstat (limited to 'main/open-vm-tools-vserver')
-rw-r--r-- | main/open-vm-tools-vserver/APKBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/main/open-vm-tools-vserver/APKBUILD b/main/open-vm-tools-vserver/APKBUILD index e674d6d312..b42964acf9 100644 --- a/main/open-vm-tools-vserver/APKBUILD +++ b/main/open-vm-tools-vserver/APKBUILD @@ -2,20 +2,24 @@ _flavor=vserver _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" _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." |