diff options
author | gardenapple | 2021-01-15 23:31:42 +0200 |
---|---|---|
committer | gardenapple | 2021-01-15 23:34:48 +0200 |
commit | c2b5143556e7a95e3b0667a57641970c456edfdd (patch) | |
tree | 3ca36c63a87c49ccfe6c474cfc1ef664feb1dda1 /PKGBUILD | |
download | aur-c2b5143556e7a95e3b0667a57641970c456edfdd.tar.gz |
Added package
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e90a7bee75ec --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Yurii <yu.hrysh@posteo.net> +# Contributor: Anatol Pomozov <anatol.pomozov@gmail.com> + +_gemname=rake +pkgname=ruby-$_gemname-12 +pkgver=12.3.3 +pkgrel=1 +pkgdesc='Make-like build tool implemented in Ruby' +provides=(rake) +arch=(any) +url='https://ruby.github.io/rake/' +license=(MIT) +depends=(ruby) +options=(!emptydirs) +source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem) +noextract=($_gemname-$pkgver.gem) +sha1sums=('f585a1115325f3a64c2fc719b6f6cd7b33a4ab59') + +package() { + local _gemdir="$(ruby -e'puts Gem.default_dir')" + gem install --ignore-dependencies --no-user-install --no-document -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem + rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem" +} |