aboutsummaryrefslogtreecommitdiffstats
path: root/main/cvechecker/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-05-08 14:08:12 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-05-09 11:16:40 +0000
commit82534a98135d133cca87ca287f7e817c6316ffc8 (patch)
treeb2bdcc8c675abc85ce27ca46d1d0612658c10fec /main/cvechecker/APKBUILD
parentc1c3f61629a9309c910674c6d4c3ea825b6f5af2 (diff)
downloadaports-82534a98135d133cca87ca287f7e817c6316ffc8.tar.bz2
aports-82534a98135d133cca87ca287f7e817c6316ffc8.tar.xz
main/cvechecker: fix permission, minor changes
Diffstat (limited to 'main/cvechecker/APKBUILD')
-rw-r--r--main/cvechecker/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/cvechecker/APKBUILD b/main/cvechecker/APKBUILD
index 7b0f6213b9..f18e156d47 100644
--- a/main/cvechecker/APKBUILD
+++ b/main/cvechecker/APKBUILD
@@ -11,7 +11,7 @@ depends="gawk wget libxslt"
depends_dev="libconfig-dev argp-standalone sqlite-dev openssl-dev
mysql-dev sqlite-dev openssl-dev"
makedepends="$depends_dev"
-install="$pkgname.pre-install"
+install="$pkgname.pre-install $pkgname.post-install"
subpackages="$pkgname-doc"
source="http://sourceforge.net/projects/cvechecker/files/$pkgname-$pkgver.tar.gz
cvecheck-c.patch
@@ -41,6 +41,7 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
+ mkdir -p "$pkgdir"/var/cvechecker &>/dev/null
chgrp -R cvechecker "$pkgdir"/var/cvechecker/* &>/dev/null
chmod -R g+w "$pkgdir"/var/cvechecker &>/dev/null
}