diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2011-07-14 14:50:32 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2011-07-14 14:51:10 +0000 |
commit | 523b9911df7b6c0d2e451b91fc52adbb3794f883 (patch) | |
tree | 7c63549ac04086966793b8bf581561136158225a /main/open-vm-tools-grsec | |
parent | e90917c7b54536e387a56d8ea57fdf37ff748a56 (diff) | |
download | aports-523b9911df7b6c0d2e451b91fc52adbb3794f883.tar.bz2 aports-523b9911df7b6c0d2e451b91fc52adbb3794f883.tar.xz |
main/open-vm-tools-grsec: fix pkgrel
Diffstat (limited to 'main/open-vm-tools-grsec')
-rw-r--r-- | main/open-vm-tools-grsec/APKBUILD | 15 |
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." |