mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-23 23:42:35 +00:00
always add revision number to filename
This commit is contained in:
parent
fb0cc76aa5
commit
ec3f3eaf61
11
abuild
11
abuild
@ -186,16 +186,7 @@ subpkg() {
|
||||
package_apk() {
|
||||
[ -z "${pkgname##* *}" ] && die "pkgname contains spaces"
|
||||
local dir=${subpkgdir:-$pkgdir}
|
||||
local p="$pkgname-$pkgver"
|
||||
[ "$pkgrel" -ne 0 ] && p="$p-r$pkgrel"
|
||||
local pkg="$p.apk"
|
||||
# local db="$dir/var/db/apk/$p"
|
||||
# mkdir -p "$db"
|
||||
# echo "$arch" > "$db/ARCH"
|
||||
# echo "$pkgdesc" > "$db/DESC"
|
||||
# echo "$license" > "$db/LICENSE"
|
||||
# echo "$depends" > "$db/DEPEND"
|
||||
# echo "$url" > "$db/WWW"
|
||||
local pkg="$pkgname-$pkgver-$pkgrel.apk"
|
||||
|
||||
[ ! -d "$dir" ] && die "Missing $dir"
|
||||
cd "$dir"
|
||||
|
Loading…
Reference in New Issue
Block a user