diff options
author | FabioLolix | 2021-08-15 15:05:32 +0200 |
---|---|---|
committer | FabioLolix | 2021-08-15 15:05:32 +0200 |
commit | 4e4a18033eb38d46611231e286ef78974e262c34 (patch) | |
tree | bdd01d792c04198866effd08fe422cf1046c3014 | |
parent | b1905c874ad1f43ac12210af1bab1fe175ea7ae8 (diff) | |
download | aur-4e4a18033eb38d46611231e286ef78974e262c34.tar.gz |
correct pkgver(), add .gitignore
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
3 files changed, 11 insertions, 4 deletions
@@ -1,7 +1,8 @@ pkgbase = tenacity-git pkgdesc = An easy-to-use multi-track audio editor and recorder, forked from Audacity - pkgver = 3.0.2.r595.g04609bba0 + pkgver = r13667.g4e877b8ae pkgrel = 1 + epoch = 1 url = https://tenacityaudio.org arch = i686 arch = x86_64 @@ -36,6 +37,7 @@ pkgbase = tenacity-git depends = soundtouch optdepends = ffmpeg: additional import/export capabilities provides = tenacity + conflicts = tenacity source = git+https://git.sr.ht/~tenacity/tenacity source = tenacity.patch sha256sums = SKIP diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..7bdcacd5a279 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +src +pkg +*.log +*.tar* @@ -6,8 +6,9 @@ # Contributor: Eric BĂ©langer <eric@archlinux.org> pkgname=tenacity-git -pkgver=3.0.2.r595.g04609bba0 +pkgver=r13667.g4e877b8ae pkgrel=1 +epoch=1 pkgdesc="An easy-to-use multi-track audio editor and recorder, forked from Audacity" arch=(i686 x86_64) url="https://tenacityaudio.org" @@ -19,14 +20,14 @@ makedepends=(git cmake clang sdl2 libsoup libnotify gstreamer gst-plugins-bad-li # can't find system lame portmidi optdepends=('ffmpeg: additional import/export capabilities') provides=(tenacity) -#conflicts=(tenacity) +conflicts=(tenacity) source=("git+https://git.sr.ht/~tenacity/tenacity" "tenacity.patch") sha256sums=('SKIP' 'c06c60a9ae17b9265840fcd619d2c7a5668f26a94cec80c8785c7997afd4bc96') pkgver() { cd tenacity - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -d'.' -f2- + printf "r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { |