summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwordofglass2016-03-21 14:16:19 +0100
committerwordofglass2016-03-21 14:16:19 +0100
commitda632c01fa4ffb6ec15bfb2888d6cd09dbc900cf (patch)
treeae935142eff2a683565e9f2b831211db85fa304f
parent069acced1f45793894792c8c8b7eb0c875332e0b (diff)
downloadaur-da632c01fa4ffb6ec15bfb2888d6cd09dbc900cf.tar.gz
Fix version number
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0080f98eea4..a567f63fe81 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,8 @@
pkgbase = beets-copyartifacts-git
pkgdesc = A beets plugin that moves non-music files during the import process.
- pkgver = v0.1.2.r24.dac4a16
+ pkgver = 0.1.2.r24.dac4a16
pkgrel = 1
+ epoch = 1
url = https://github.com/sbarakat/beets-copyartifacts
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 85ed8674071..a84dabe68c9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
# Maintainer: wordofglass <wordofglass@users.noreply.github.com>
pkgname=beets-copyartifacts-git
-pkgver=v0.1.2.r24.dac4a16
+pkgver=0.1.2.r24.dac4a16
pkgrel=1
+epoch=1 # had the versioning messed up initially...
pkgdesc="A beets plugin that moves non-music files during the import process."
arch=('any')
url="https://github.com/sbarakat/${pkgname%-git}"
@@ -16,7 +17,7 @@ md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
- printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
+ printf "%s" "$(git describe --long | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g')"
}
package() {