From e7c55d1939b01b7609f6be6f5f9973cdf86fa9f8 Mon Sep 17 00:00:00 2001 From: ayakael Date: Mon, 2 Jul 2018 07:47:09 -0800 Subject: [PATCH] [apk/dam/APKBUILD] Boosted to dev version, now handles VERSION for build.sh --- apk/dam/APKBUILD | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/apk/dam/APKBUILD b/apk/dam/APKBUILD index 3611fb5..af43ad4 100644 --- a/apk/dam/APKBUILD +++ b/apk/dam/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Antoine Martin pkgname=dam -pkgver=0.2.6 +pkgver=0.2.6-75-g6f4b82b pkgrel=0 pkgdesc="A digital audio manager built very specifically for my git-annex backed music collection" url="https://github.com/ayakael/dam" @@ -33,10 +33,11 @@ snapshot() { echo "Submod update" git submodule update --init cd bunc - echo "Submo archive" + echo "Submod archive" git archive --prefix="$pkgname/bunc/" --format="tar" -o "../bunc.tar" "master" cd .. - + + tar --concatenate --file dam.tar bunc.tar gzip dam.tar -c > "$SRCDEST"/$pkgname-$pkgver.tar.gz ln -s "$SRCDEST"/$pkgname-$pkgver.tar.gz "$startdir"/$pkgname-$pkgver.tar.gz @@ -44,7 +45,7 @@ snapshot() { build() { cd "$builddir" - ./build.sh + ./build.sh "VERSION=${pkgver}" } package() {