summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gregoratto2018-01-11 20:15:17 +1100
committerStephen Gregoratto2018-01-11 20:15:17 +1100
commitcaeebd179eb1bdda863ee898d1f0c6f996da4c58 (patch)
tree49342af5084c1a399c5baa49145c108249c68be8
parent0426fd1d70adee2656d7e667ec79dd9309f2dda8 (diff)
downloadaur-caeebd179eb1bdda863ee898d1f0c6f996da4c58.tar.gz
Use origin/release tags for pkgver() after discussion with author
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD3
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 11b3bd4994f..57592d03909 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
pkgbase = adlmidi-git
- pkgdesc = A commandline program that plays MIDI via software OPL3 emulation
+ pkgdesc = Commandline program that plays MIDI via software OPL3 emulation
pkgver = 1.2.6
pkgrel = 1
- url = http://bisqwit.iki.fi/source/adlmidi.html
+ url = https://bisqwit.iki.fi/source/adlmidi.html
arch = i686
arch = x86_64
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index 1c62fdf191a..bfd28cf37da 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,8 @@ source=("git://bisqwit.iki.fi/adlmidi.git")
sha256sums=('SKIP')
pkgver() {
- curl -s $url | grep -Po -m1 'adlmidi-\K[^/"]+' | head -1 | sed 's/.tar.bz2//g'
+ cd "${pkgname/-git}"
+ printf "%s" "$(git describe origin/release)"
}
build() {