diff options
author | Stephen Gregoratto | 2018-02-10 01:52:38 +1100 |
---|---|---|
committer | Stephen Gregoratto | 2018-02-10 01:52:38 +1100 |
commit | 4d99acbfb7357118a51bc816f625e71b3129a5e4 (patch) | |
tree | 767c4558b7eae6bb3ffced4f3b73c3adca616ed1 /PKGBUILD | |
parent | 69202582fb2e5b3c29a1af085b79730dea02d5a9 (diff) | |
download | aur-4d99acbfb7357118a51bc816f625e71b3129a5e4.tar.gz |
Replace provides w/ conflicts, better version retrieval
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ # Maintainer: Stephen Gregoratto <themanhimself@sgregoratto.me> -pkgname="adlmidi-git" +pkgname=adlmidi-git pkgdesc="Commandline program that plays MIDI via software OPL3 emulation" pkgrel=1 pkgver=1.2.6 @@ -9,13 +9,13 @@ url="https://bisqwit.iki.fi/source/adlmidi.html" license=('GPL3' 'GPL2+') makedepends=('git') optdepends=('ffmpeg: recording output to video file') -provides=(adlmidi) +conflicts=(adlmidi) source=("git://bisqwit.iki.fi/adlmidi.git") sha256sums=('SKIP') pkgver() { cd "${pkgname/-git}" - printf "%s" "$(git describe origin/release)" + git describe --long --tags origin/release | sed 's/\([^-]*-\)g/r\1/;s/-/./g' } build() { |