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 /PKGBUILD | |
download | aur-ebf4ae8a9391d8827b93a33acab6b8b396bee938.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
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') |