diff options
author | johnwallaby | 2019-03-18 21:09:15 +0100 |
---|---|---|
committer | johnwallaby | 2019-03-18 21:09:15 +0100 |
commit | 836a1635bdf6c5a3ee10647fb1546841f5b5f04f (patch) | |
tree | 5b7b0112290f34d4ce16196767a2f82d96eb5f8e | |
parent | bbd1a8c11a061ac7a92af3786cccccc4a09a6681 (diff) | |
download | aur-836a1635bdf6c5a3ee10647fb1546841f5b5f04f.tar.gz |
add conflicts and provides; thx @sixmir
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 6 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = gpscorrelate-git pkgdesc = GPS Photo Correlation; Writes location data to EXIF tags using GPX files (command line and GTK interface). pkgver = r149.a6bc064 - pkgrel = 4 + pkgrel = 5 url = https://github.com/freefoote/gpscorrelate arch = any license = GPL @@ -10,6 +10,8 @@ pkgbase = gpscorrelate-git depends = libxml2 depends = gtk2 depends = exiv2 + provides = gpscorrelate=r149.a6bc064 + conflicts = gpscorrelate source = git+https://github.com/dfandrich/gpscorrelate sha256sums = SKIP @@ -5,7 +5,7 @@ _pkgname=gpscorrelate pkgname=gpscorrelate-git pkgver=r149.a6bc064 -pkgrel=4 +pkgrel=5 pkgdesc='GPS Photo Correlation; Writes location data to EXIF tags using GPX files (command line and GTK interface).' url='https://github.com/freefoote/gpscorrelate' license=('GPL') @@ -14,10 +14,10 @@ sha256sums=('SKIP') arch=('any') depends=('libxml2' 'gtk2' 'exiv2') makedepends=('git' 'libxslt') - +provides=("${pkgname//-git}=${pkgver}") +conflicts=(${pkgname//-git}) pkgver() { cd "${srcdir}/${_pkgname}" - # Get the version number. printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } @@ -29,5 +29,4 @@ package() { install -Dm644 gpscorrelate.desktop "$pkgdir/usr/share/applications/gpscorrelate.desktop" } - # vim: ft=sh ts=2 sw=2 et |