summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2008-11-06 14:34:36 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2008-11-06 14:34:36 +0000
commitec3f3eaf61532fd7e8d4e6f94c8c3849e701e6fd (patch)
treeb07895b06fcaaee4da0227c75bc3a17969935480
parentfb0cc76aa586832e49a357c67d8bf130f95d51fd (diff)
downloadabuild-ec3f3eaf61532fd7e8d4e6f94c8c3849e701e6fd.tar.gz
abuild-ec3f3eaf61532fd7e8d4e6f94c8c3849e701e6fd.tar.bz2
abuild-ec3f3eaf61532fd7e8d4e6f94c8c3849e701e6fd.tar.xz
abuild-ec3f3eaf61532fd7e8d4e6f94c8c3849e701e6fd.zip
always add revision number to filename
-rwxr-xr-xabuild11
1 files changed, 1 insertions, 10 deletions
diff --git a/abuild b/abuild
index bec1305..557543a 100755
--- a/abuild
+++ b/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"