diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d2660b155b28 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +# Contributor: Christoph Zeiler <rabyte*gmail> + +pkgname=arcadia +pkgver=1.0.0 +pkgrel=0 +pkgdesc="A light IDE for Ruby" +arch=('any') +url="http://arcadia.rubyforge.org/" +install=$pkgname.install +license=('RUBY') +depends=('ruby' 'ruby-coderay>1.0') +optdepends=('ctags: other languages support' + 'xterm: termina integration' + 'ruby-debug: debug support') +source=(http://rubygems.org/downloads/$pkgname-$pkgver.gem) +md5sums=('e12e52a2def29191bddbc03cc9e76bd9') +build() { + cd "$srcdir" +} + +package() { + cd "$srcdir" + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + gem install $pkgname-$pkgver.gem --ignore-dependencies -i "$pkgdir$_gemdir" --no-user-install -n "$pkgdir/usr/bin" + ln -sf arc "$pkgdir/usr/bin/$pkgname" +} |