summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMarcel Korpel2015-07-10 01:02:35 +0200
committerMarcel Korpel2015-07-10 01:02:35 +0200
commite4f5d1d659a9da41f55ca2928e3541b1c45ff282 (patch)
treea375d78c7ba211002b3edd07a2e28990b813d884 /PKGBUILD
parent29130085f89948fd8614a7cb8fbe471263fc05b4 (diff)
downloadaur-ruby-commander-4.2.1.tar.gz
Add provides and conflicts arrays
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 75c401fb461..74d947db247 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,8 @@
# Contributor: Peter Richard Lewis <plewis@aur.archlinux.org>
_gemname=commander
-pkgname=ruby-$_gemname-4.2.1
+_pkgname=ruby-$_gemname
+pkgname=$_pkgname-4.2.1
pkgver=4.2.1
pkgrel=1
pkgdesc="The complete solution for Ruby command-line executables, version 4.2.1"
@@ -10,6 +11,8 @@ arch=('any')
url="https://rubygems.org/gems/commander"
license=('MIT')
depends=('ruby' 'ruby-highline>1.6.11')
+provides=("${_pkgname}=$pkgver")
+conflicts=("${_pkgname}")
options=(!emptydirs)
source=("http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem"
"https://raw.githubusercontent.com/commander-rb/commander/master/LICENSE")