Commit ec3f3eaf authored by Natanael Copa's avatar Natanael Copa

always add revision number to filename

parent fb0cc76a
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment