diff options
author | Filipe Nascimento | 2022-09-10 22:17:22 -0300 |
---|---|---|
committer | Filipe Nascimento | 2022-09-10 22:17:22 -0300 |
commit | 27f2fbf62d98dd8f758f6f003d210eccefac793b (patch) | |
tree | 4925604751dfd187d80d79b437b80c5adff7d6c9 | |
download | aur-27f2fbf62d98dd8f758f6f003d210eccefac793b.tar.gz |
Initial upload: ruby-xdg5 5.3.0-1
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c6521dc2decf --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = ruby-xdg5 + pkgdesc = Provides a Ruby implementation of the XDG Base Directory Specification (version 5.x) + pkgver = 5.3.0 + pkgrel = 1 + url = https://www.alchemists.io/projects/xdg + arch = any + license = Apache + makedepends = ruby-rdoc + depends = ruby + conflicts = ruby-xdg + noextract = xdg-5.3.0.gem + options = !emptydirs + source = http://rubygems.org/downloads/xdg-5.3.0.gem + sha256sums = 9b7fbaf36169a7ef53e0d024b7d2f9e2636bbd805b6d903f78269882b48476ff + +pkgname = ruby-xdg5 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..22c6a98573a1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Filipe Nascimento <flipee at tuta dot io> + +_gemname=xdg +pkgname=ruby-xdg5 +pkgver=5.3.0 +pkgrel=1 +pkgdesc="Provides a Ruby implementation of the XDG Base Directory Specification (version 5.x)" +arch=('any') +url="https://www.alchemists.io/projects/xdg" +license=('Apache') +depends=('ruby') +makedepends=('ruby-rdoc') +conflicts=('ruby-xdg') +options=(!emptydirs) +source=("http://rubygems.org/downloads/xdg-$pkgver.gem") +noextract=("xdg-$pkgver.gem") +sha256sums=('9b7fbaf36169a7ef53e0d024b7d2f9e2636bbd805b6d903f78269882b48476ff') + +package() { + local _gemdir + _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" +} |