diff options
author | Narrat | 2015-07-25 16:12:23 +0200 |
---|---|---|
committer | Narrat | 2015-07-25 16:12:23 +0200 |
commit | a03b1a05ec66adda3c31519c225013b66e67946b (patch) | |
tree | f9ee1e1bf55f69f4ade8c081aa96085705401efb | |
parent | 266786509d22aa3be9a17fd357f5ceb14754455f (diff) | |
download | aur-a03b1a05ec66adda3c31519c225013b66e67946b.tar.gz |
gtk-sharp-git: Add conflicts/provides
As this package conflicts the repo gtk-sharp-3 package, since it got added there.
Added --tags to pkgver() so the correct version is displayed
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = gtk-sharp-git pkgdesc = C# bindings to the cross platform Gtk+ GUI toolkit (git-master) - pkgver = 2.99.2.r72.g08f4ae2 + pkgver = 2.99.3.r39.g89b2dae pkgrel = 1 url = http://www.mono-project.com/docs/gui/gtksharp/ arch = i686 @@ -9,6 +9,8 @@ pkgbase = gtk-sharp-git makedepends = git depends = mono depends = gtk3 + provides = gtk-sharp-3=2.99.3 + conflicts = gtk-sharp-3 source = git://github.com/mono/gtk-sharp.git#branch=master md5sums = SKIP @@ -3,7 +3,7 @@ _pkgname=gtk-sharp pkgname=$_pkgname-git -pkgver=2.99.2.r72.g08f4ae2 +pkgver=2.99.3.r39.g89b2dae pkgrel=1 pkgdesc="C# bindings to the cross platform Gtk+ GUI toolkit (git-master)" arch=('i686' 'x86_64') @@ -11,13 +11,15 @@ url="http://www.mono-project.com/docs/gui/gtksharp/" license=('LGPL') depends=('mono' 'gtk3') makedepends=('git') +conflicts=('gtk-sharp-3') +provides=('gtk-sharp-3=2.99.3') source=('git://github.com/mono/gtk-sharp.git#branch=master') md5sums=('SKIP') pkgver() { cd $_pkgname - git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { |