diff options
author | Jakob Dübel | 2018-07-14 18:28:50 +0200 |
---|---|---|
committer | Jakob Dübel | 2018-07-14 18:28:50 +0200 |
commit | 3560dceb4d8ae1824a99ed926e796e28ccec3618 (patch) | |
tree | 05cf48899e2ab57977acd5ad2f96ecd5a39e1e63 /PKGBUILD | |
parent | bb7f5a589bc5fa74ced91a9cc4b211a9cd4be71b (diff) | |
download | aur-3560dceb4d8ae1824a99ed926e796e28ccec3618.tar.gz |
Corrected the package version according to the guidelines.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -1,8 +1,8 @@ # Maintainer: Jakob Dübel <jkbd@posteo.de> _pkgname=jack-midi-clock pkgname=${_pkgname}-git -pkgver=v0.1.0.r73.554baec -pkgrel=1 +pkgver=0.4.3.r2.g554baec +pkgrel=2 pkgdesc="A utility to send MIDI Beat Clock pulses that follow the JACK Transport" arch=('x86_64') url="https://github.com/x42/jack_midi_clock" @@ -23,9 +23,7 @@ md5sums=('SKIP') pkgver() { cd "$srcdir/${_pkgname}" - -# Git, tags available - printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { |