summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-04-25 11:34:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-04-25 11:34:40 +0000
commit81363a18c9246f28ef0373e7a76523a6e106e67b (patch)
tree4399c9e79e0fbb0e9460e7ac4b056f052633e9ea /main
parent71382a16f77fa4ddabfc1bf1ad8647d7df107a49 (diff)
downloadaports-81363a18c9246f28ef0373e7a76523a6e106e67b.tar.bz2
aports-81363a18c9246f28ef0373e7a76523a6e106e67b.tar.xz
main/apk-tools: create config dirs
Diffstat (limited to 'main')
-rw-r--r--main/apk-tools/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/apk-tools/APKBUILD b/main/apk-tools/APKBUILD
index ab9326161..a65aeeb5c 100644
--- a/main/apk-tools/APKBUILD
+++ b/main/apk-tools/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=apk-tools
pkgver=2.3.0
-pkgrel=3
+pkgrel=4
pkgdesc="Alpine Package Keeper - package manager for alpine"
subpackages="$pkgname-static lua-apk:luaapk"
depends=
@@ -40,7 +40,11 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
- install -d "$pkgdir"/var/lib/apk "$pkgdir"/var/cache/misc
+ install -d "$pkgdir"/var/lib/apk \
+ "$pkgdir"/var/cache/misc \
+ "$pkgdir"/etc/apk/keys \
+ "$pkgdir"/etc/apk/protected_paths.d \
+ || return 1
# the shipped README is empty
rm -r "$pkgdir"/usr/share/
}