summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJonas Amundsen2015-07-02 21:49:24 +0200
committerJonas Amundsen2015-07-02 21:49:24 +0200
commitbbc883bde0cd7b1003886f1ddbe14f3770b865c4 (patch)
treeb5e9ba7393757e242103cce664ef09d24bc9a891 /PKGBUILD
downloadaur-bbc883bde0cd7b1003886f1ddbe14f3770b865c4.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4e8306b9007
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: Jonas Amundsen <jonasba+aur at gmail dot com>
+
+_gemname=ironment
+pkgname=ruby-$_gemname
+pkgver=0.0.4
+pkgrel=1
+pkgdesc='Environment populator & command wrapper utility.'
+arch=(any)
+url='https://github.com/badeball/ironment'
+license=(MIT)
+depends=('ruby' 'ruby-commander')
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('7ae0936414b197b74456607a70ba722840a33a59')
+
+package() {
+ local _gemdir="$(ruby -e'puts Gem.default_dir')"
+ gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
+ rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+ install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}