summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSimon Wörner2018-06-08 15:47:27 +0200
committerSimon Wörner2018-06-08 15:47:27 +0200
commitb5012ca073838d49e919857ec668ae9748f5ae8a (patch)
tree8d5c13ebdbb4271e18ce58d997cbffcd14aea0de /PKGBUILD
downloadaur-ruby-blockenspiel.tar.gz
init commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f7e0752cf3a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Simon Wörner <arch-pkg@simon-woerner.de>
+
+_gemname=blockenspiel
+pkgname=ruby-$_gemname
+pkgver=0.5.0
+pkgrel=1
+pkgdesc='Blockenspiel is a helper library designed to make it easy to implement DSL blocks.'
+arch=(any)
+url='http://dazuma.github.com/blockenspiel'
+license=(BSD-3-Clause)
+depends=(ruby)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('aed90208f7f4db3884ae496eb111e7a02453db0f')
+
+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"
+}