aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ab9326161f..a65aeeb5cb 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/
}