summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
Diffstat (limited to 'abuild.in')
-rwxr-xr-xabuild.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/abuild.in b/abuild.in
index 8862a56..b718a67 100755
--- a/abuild.in
+++ b/abuild.in
@@ -95,8 +95,10 @@ sanitycheck() {
[ -z "$pkgname" ] && die "Missing pkgname in APKBUILD"
[ -z "${pkgname##* *}" ] && die "pkgname contains spaces"
[ -z "$pkgver" ] && die "Missing pkgver in APKBUILD"
- apk version --check -q "$pkgver" ||\
- die "$pkgver is not a valid version"
+ if [ "$pkgver" != "volatile" ]; then
+ apk version --check -q "$pkgver" ||\
+ die "$pkgver is not a valid version"
+ fi
[ -z "$pkgrel" ] && warning "Missing pkgrel in APKBUILD. Using pkgrel=0"
[ -z "$pkgdesc" ] && die "Missing pkgdesc in APKBUILD"
[ -z "$url" ] && die "Missing url in APKBUILD"