diff options
author | Νικόλαος Κυριάκος Φυτίλης | 2017-08-04 11:11:49 +0300 |
---|---|---|
committer | Νικόλαος Κυριάκος Φυτίλης | 2017-08-04 11:11:49 +0300 |
commit | 16efa1aa0f3ba52a36dcf485d86a33448099e7dd (patch) | |
tree | 1d1d4eab6d4859d5ed089af25081552ec36a4bff | |
parent | 7634584076d90103c75f670ee915882825438b8f (diff) | |
download | aur-16efa1aa0f3ba52a36dcf485d86a33448099e7dd.tar.gz |
better ver, provides
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 7 deletions
@@ -1,13 +1,13 @@ pkgbase = taglib-sharp-git pkgdesc = Library for reading and writing metadata in media files for Mono - source from git for working opus files - pkgver = taglib.sharp.2.1.0.0.r69.gf8d6334 - pkgrel = 1 + pkgver = 2.1.0.0.r90.gceda04a + pkgrel = 2 url = https://github.com/mono/taglib-sharp arch = i686 arch = x86_64 license = LGPL2.1 depends = mono - provides = taglib-sharp + provides = taglib-sharp=2.1.0.0 conflicts = taglib-sharp source = git+https://github.com/mono/taglib-sharp.git md5sums = SKIP @@ -5,21 +5,21 @@ _pkgbase=taglib-sharp pkgname=$_pkgbase-git -pkgver=taglib.sharp.2.1.0.0.r69.gf8d6334 -pkgrel=1 +pkgver=2.1.0.0.r90.gceda04a +pkgrel=2 pkgdesc="Library for reading and writing metadata in media files for Mono - source from git for working opus files" arch=('i686' 'x86_64') url="https://github.com/mono/taglib-sharp" license=('LGPL2.1') depends=('mono') conflicts=(taglib-sharp) -provides=(taglib-sharp) +provides=("taglib-sharp=${pkgver%%.r*}") source=(git+https://github.com/mono/taglib-sharp.git) md5sums=('SKIP') pkgver() { cd "$srcdir/$_pkgbase" - git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long | sed 's/^taglib-sharp-//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { |