summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Arenales2016-06-20 11:59:13 -0300
committerFelipe Arenales2016-06-20 11:59:47 -0300
commitdd378507b5edf78c281a5b440d208e24ee808895 (patch)
tree2069e2eb388fd4d7ecdecc4cc2087930cd79ac90
parentd8a75fddf6b408d37559a773b63bb3fbcde54f6d (diff)
downloadaur-dd378507b5edf78c281a5b440d208e24ee808895.tar.gz
Generating file .package-envs
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD11
2 files changed, 12 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4d731361ff6..0f811e4b6c7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Thu Apr 7 05:56:22 UTC 2016
+# Mon Jun 20 14:59:38 UTC 2016
pkgbase = azk
pkgdesc = azk is a lightweight open source development environment orchestration tool. Instantly & safely run any environment on your local machine.
pkgver = 0.18.0
diff --git a/PKGBUILD b/PKGBUILD
index 0ac9f22d968..01812a3b89c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,8 +12,19 @@ conflicts=(${pkgname}-git)
source=("https://github.com/azukiapp/${pkgname}/archive/v${pkgver}.tar.gz")
md5sums=('fe0d6a61c4bca2a3c1bea72515467758')
+azk_last_commit_id=8b9f66c
+azk_last_commit_date=2016-04-06
+
package() {
cd "$srcdir/$pkgname-$pkgver"
+ _create_package_envs
make -e package_linux
cp -a "$srcdir/$pkgname-$pkgver/package/v$pkgver/." "$pkgdir/"
}
+
+_create_package_envs() {
+ (
+ echo "export AZK_LAST_COMMIT_ID=$azk_last_commit_id"
+ echo "export AZK_LAST_COMMIT_DATE=$azk_last_commit_date"
+ ) > .package-envs
+} \ No newline at end of file