summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDrew Noel2020-07-27 13:37:38 -0400
committerDrew Noel2020-07-27 13:41:44 -0400
commit5180b11dee22b9fe44a8a936a901e2836cb7d75c (patch)
tree0b1f108184e183aeb60cc62585292746c5a29ca5 /PKGBUILD
downloadaur-5180b11dee22b9fe44a8a936a901e2836cb7d75c.tar.gz
Import
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 000000000000..511d90b9d862
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: Drew Noel <drewmnoel@gmail.com>
+
+_gemname=bundler-audit
+pkgname=ruby-$_gemname
+pkgver=0.7.0.1
+pkgrel=1
+pkgdesc='Patch-level verification for Bundler'
+arch=(any)
+url='https://github.com/rubysec/bundler-audit#readme'
+license=(GPL-3.0+)
+depends=(ruby ruby-thor ruby-bundler)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('5e6edce4346a6600dcc0e14367b4c21cf35382da')
+
+package() {
+ 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
+ rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+ install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/COPYING.txt" "$pkgdir/usr/share/licenses/$pkgname/COPYING.txt"
+}