main/apk-tools: install library under /usr/lib

APK is not a requirement to boot the system. So there's no need to
have it under /lib

Relates https://gitlab.alpinelinux.org/alpine/tsc/-/issues/73
This commit is contained in:
Pablo Correa Gómez 2024-09-02 17:39:19 +02:00 committed by Natanael Copa
parent 8f27da0395
commit 0a35389adb

View file

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=apk-tools
pkgver=2.14.4
pkgrel=2
pkgrel=3
pkgdesc="Alpine Package Keeper - package manager for alpine"
arch="all"
url="https://gitlab.alpinelinux.org/alpine/apk-tools"
@ -54,7 +54,7 @@ check() {
}
package() {
make DESTDIR="$pkgdir" LUA="$_lua" install
make LIBDIR="/usr/lib" DESTDIR="$pkgdir" LUA="$_lua" install
install -d "$pkgdir"/lib/apk/db \
"$pkgdir"/lib/apk/exec \
"$pkgdir"/etc/apk/keys \
@ -86,8 +86,7 @@ static() {
luaapk() {
pkgdesc="Lua module for apk-tools"
mkdir -p "$subpkgdir"/usr/
mv "$pkgdir"/usr/lib "$subpkgdir"/usr/lib/
amove usr/lib/lua
}
sha512sums="