summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 11 insertions, 0 deletions
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