diff options
author | Mario Finelli | 2016-01-07 21:52:47 -0500 |
---|---|---|
committer | Mario Finelli | 2016-01-07 21:52:47 -0500 |
commit | 4233f81877d72504abedc6730caebbc5d600a211 (patch) | |
tree | 0b468d2dbf67df8ec2401cd3d16363541fa0d57b /PKGBUILD | |
download | aur-4233f81877d72504abedc6730caebbc5d600a211.tar.gz |
Initial commit
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..398f499cac90 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Generated with gembuild (https://github.com/mfinelli/gembuild) +# Maintainer: Mario Finelli <mario dot finelli at yahoo dot com> + +_gemname=net-http-digest_auth +pkgname=ruby-$_gemname +pkgver=1.4 +pkgrel=1 +pkgdesc='An implementation of RFC 2617 - Digest Access Authentication.' +arch=('any') +url='http://github.com/drbrain/net-http-digest_auth' +options=(!emptydirs) +noextract=($_gemname-$pkgver.gem) +depends=('ruby') +makedepends=('rubygems') +source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem") +sha256sums=('11f7a8c13e801455dedd8864339d5fcd6536949b99ec9b3eae193c32f20b0091') + +package() { + cd "$srcdir" + 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 +} |