summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..398f499cac9
--- /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
+}