summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-02-19 21:23:37 +0100
committerXZS2016-02-19 21:23:37 +0100
commit1f6c995f161b369be0ace8a2613d25baf014fc33 (patch)
tree7fefaf4035e466ea8b08c43bd34cc2c404ba2828
parentf89763dafa133ca00a199be6c1d64899adc7cfd0 (diff)
downloadaur-1f6c995f161b369be0ace8a2613d25baf014fc33.tar.gz
built in proper version number
This injects the package version information into the metadata.json, instead of just defaulting to the current commit hash, which is part of the pkgver anyway.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b7ba073341b..8dc1d0ea776 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sun Feb 7 15:17:11 UTC 2016
+# Fri Feb 19 20:21:58 UTC 2016
pkgbase = gnome-shell-extension-dash-to-dock-git
pkgdesc = A gnome-shell extension that transforms the dash into an intellihide dock
pkgver = 50
- pkgrel = 1
+ pkgrel = 2
url = https://micheleg.github.io/dash-to-dock/
install = gschemas.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index f58c8bbc4b6..6de58ec054a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=gnome-shell-extension-dash-to-dock-git
pkgver=50
-pkgrel=1
+pkgrel=2
pkgdesc="A gnome-shell extension that transforms the dash into an intellihide dock"
arch=('any')
url="https://micheleg.github.io/dash-to-dock/"
@@ -30,7 +30,7 @@ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
build() {
cd "$_gitname"
- make _build
+ make VERSION="$pkgver" _build
}
package() {