diff options
author | Gabriel Magno | 2016-02-15 17:41:41 -0200 |
---|---|---|
committer | Gabriel Magno | 2016-02-15 17:41:41 -0200 |
commit | 930e6bdb9240996cfce604ebbc67d4a33c887291 (patch) | |
tree | 081c33c310b6ecf4c7c3754670d0d8994b62976e | |
download | aur-930e6bdb9240996cfce604ebbc67d4a33c887291.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1db43ed9f328 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Mon Feb 15 19:38:47 UTC 2016 +pkgbase = sonic-pi-cli + pkgdesc = Sonic Pi CLI + pkgver = 0.0.5 + pkgrel = 1 + url = http://rubygems.org/gems/sonic-pi-cli + arch = any + license = MIT + depends = ruby + depends = ruby-osc-ruby + noextract = sonic-pi-cli-0.0.5.gem + options = !emptydirs + source = https://rubygems.org/downloads/sonic-pi-cli-0.0.5.gem + sha1sums = cb06a3abb86f734335c3130f5f4e7a7babd49f9f + +pkgname = sonic-pi-cli + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3bff9b7bafbf --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Generated by gem2arch (https://github.com/anatol/gem2arch) +# Maintainer: Gabriel Magno <gabrielmagno1@gmail.com> + +_gemname=sonic-pi-cli +pkgname=$_gemname +pkgver=0.0.5 +pkgrel=1 +pkgdesc='Sonic Pi CLI' +arch=(any) +url='http://rubygems.org/gems/sonic-pi-cli' +license=(MIT) +depends=(ruby ruby-osc-ruby) +options=(!emptydirs) +source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem) +noextract=($_gemname-$pkgver.gem) +sha1sums=('cb06a3abb86f734335c3130f5f4e7a7babd49f9f') + +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" +} |