diff options
author | orumin | 2015-11-20 08:18:04 +0900 |
---|---|---|
committer | orumin | 2015-11-20 08:18:04 +0900 |
commit | 91ee324d4cf46c4d03cc6fa9946388f9c2d01bd4 (patch) | |
tree | 96e7ae0da27c9edb04f3a9299463548256954925 | |
parent | 75af8f508ae8627e741db2e943104e896cea37e2 (diff) | |
download | aur-91ee324d4cf46c4d03cc6fa9946388f9c2d01bd4.tar.gz |
add conflicts and replaces
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 10 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = wacom-utility-git pkgdesc = Graphical tablet configuration utility pkgver = 20150614 - pkgrel = 1 + pkgrel = 2 url = http://github.com/lubosz/wacom-utility.git arch = i686 arch = x86_64 @@ -10,6 +10,8 @@ pkgbase = wacom-utility-git depends = python2 depends = xf86-input-wacom depends = gksu + conflicts = wacom-utility + replaces = wacom-utility source = wacom-utility.desktop md5sums = 1d44b3571fd5e48b80b2dec5209fcf47 @@ -1,11 +1,17 @@ pkgname=wacom-utility-git pkgver=20150614 -pkgrel=1 +pkgver() { + cd "${pkgname}" + git describe --long --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g' +} +pkgrel=2 pkgdesc="Graphical tablet configuration utility" arch=('i686' 'x86_64') url="http://github.com/lubosz/wacom-utility.git" license=('GPL') depends=('gtk2' 'python2' 'xf86-input-wacom' 'gksu') +conflicts=('wacom-utility') +replaces=('wacom-utility') source=(wacom-utility.desktop) md5sums=('1d44b3571fd5e48b80b2dec5209fcf47') |