diff options
author | Stephen Gregoratto | 2018-01-11 20:15:17 +1100 |
---|---|---|
committer | Stephen Gregoratto | 2018-01-11 20:15:17 +1100 |
commit | caeebd179eb1bdda863ee898d1f0c6f996da4c58 (patch) | |
tree | 49342af5084c1a399c5baa49145c108249c68be8 | |
parent | 0426fd1d70adee2656d7e667ec79dd9309f2dda8 (diff) | |
download | aur-caeebd179eb1bdda863ee898d1f0c6f996da4c58.tar.gz |
Use origin/release tags for pkgver() after discussion with author
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 4 insertions, 3 deletions
@@ -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 @@ -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() { |