diff options
-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." |