diff options
author | Achilleas Pipinellis | 2015-06-10 09:14:58 +0300 |
---|---|---|
committer | Achilleas Pipinellis | 2015-06-10 09:14:58 +0300 |
commit | f5d55c4bd758931ed2f17a7b7df409afa48c67fe (patch) | |
tree | 280d2c69497813fbfe6e36a422558dd90bd30c85 | |
download | aur-f5d55c4bd758931ed2f17a7b7df409afa48c67fe.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2fa03332ce2c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = ruby-archive-tar-minitar + pkgdesc = A pure-Ruby library and command-line utility that provides the ability to deal with POSIX tar(1) archive files. + pkgver = 0.5.2 + pkgrel = 2 + url = https://rubygems.org/gems/archive-tar-minitar + arch = any + license = GPL2 + license = RUBY + depends = ruby + depends = rubygems + noextract = archive-tar-minitar-0.5.2.gem + source = http://rubygems.org/downloads/archive-tar-minitar-0.5.2.gem + md5sums = c8bf480d64cd6be11c0670870dbd760c + +pkgname = ruby-archive-tar-minitar + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e3d5c5846f31 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Contributor: Liganic <liganic-aur@gmx.net> +# Contributor: Alexsandr Pavlov <kidoz at mail dot ru> +# Maintainer: Achilleas Pipinellis <axilleas archlinux info> + +pkgname=ruby-archive-tar-minitar +_gemname=${pkgname#ruby-} +pkgver=0.5.2 +pkgrel=2 +pkgdesc="A pure-Ruby library and command-line utility that provides the ability to deal with POSIX tar(1) archive files." +arch=('any') +url="https://rubygems.org/gems/archive-tar-minitar" +license=('GPL2' 'RUBY') +depends=('ruby' 'rubygems') +source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem) +noextract=(${_gemname}-${pkgver}.gem) +md5sums=('c8bf480d64cd6be11c0670870dbd760c') + +package() { + local _gemdir="$(ruby -e'puts Gem.default_dir')" + gem install --no-user-install --ignore-dependencies -i \ + "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem +} |