diff options
author | realitygaps | 2015-07-06 16:53:29 +0200 |
---|---|---|
committer | realitygaps | 2015-07-06 16:53:29 +0200 |
commit | ebf4ae8a9391d8827b93a33acab6b8b396bee938 (patch) | |
tree | 02aad7826a1a71a4eeebf2cb0675611f453af28a | |
download | aur-ebf4ae8a9391d8827b93a33acab6b8b396bee938.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..315b37bf6c87 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = ruby-parseconfig + pkgdesc = Ruby gem parse config which allows you to easily manage config files + pkgver = 0.5.2 + pkgrel = 1 + url = http://rubyforge.org/projects/parseconfig/ + arch = any + license = MIT + makedepends = rubygems + depends = ruby + noextract = parseconfig-0.5.2.gem + source = http://rubygems.org/downloads/parseconfig-0.5.2.gem + md5sums = 12907f53149caceaa64f17689eb21840 + +pkgname = ruby-parseconfig + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d94ae9d2de77 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Contributor: realitygaps <realitygaps AT yahoo DOT com> +pkgname=ruby-parseconfig +_gemname=parseconfig +pkgver=0.5.2 +pkgrel=1 +pkgdesc="Ruby gem parse config which allows you to easily manage config files" +arch=(any) +url="http://rubyforge.org/projects/parseconfig/" +license=('MIT') +depends=('ruby') +makedepends=('rubygems') + +source=("http://rubygems.org/downloads/${_gemname}-${pkgver}.gem") +noextract=("${_gemname}-$pkgver.gem") + +build() { +cd $srcdir +export HOME=/tmp +local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" +gem install --no-user-install --ignore-dependencies -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-$pkgver.gem +} +md5sums=('12907f53149caceaa64f17689eb21840') |