diff options
author | noraj | 2022-11-04 11:21:02 +0100 |
---|---|---|
committer | noraj | 2022-11-04 11:21:02 +0100 |
commit | ab57f9b40a6358fab9a16c4660efcec8bd40c8f9 (patch) | |
tree | 5f9c77c6a3f6432b5d0cb235383c91efa00c50a1 | |
download | aur-ab57f9b40a6358fab9a16c4660efcec8bd40c8f9.tar.gz |
v1.0.2
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..991cd74b63cf --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = bqm + pkgdesc = Download BloudHound query lists, deduplicate entries and merge them in one file. + pkgver = 1.0.2 + pkgrel = 1 + url = https://github.com/Acceis/bqm + arch = any + license = MIT + depends = ruby + noextract = bqm-1.0.2.gem + options = !emptydirs + source = https://rubygems.org/downloads/bqm-1.0.2.gem + b2sums = 919677d86da6bb3bbb8e74f60edf19c7dcd3ca6549a6e09d624450025ae2369e8391aca394e60c76f08f7083aa43cf5fb19eabfbe201af43983ccf2eddc4c4d1 + +pkgname = bqm diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..608decd8b592 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: noraj <printf %s 'YWxleGFuZHJlLnphbm5pQGV1cm9wZS5jb20='|base64 -d> + +pkgname=bqm +_gemname=$pkgname +pkgver=1.0.2 +pkgrel=1 +pkgdesc='Download BloudHound query lists, deduplicate entries and merge them in one file.' +arch=('any') +url='https://github.com/Acceis/bqm' +license=('MIT') +depends=('ruby') +options=(!emptydirs) +source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem") +#source=("https://github.com/Acceis/$pkgname/archive/v$pkgver.tar.gz") +noextract=("$_gemname-$pkgver.gem") +b2sums=('919677d86da6bb3bbb8e74f60edf19c7dcd3ca6549a6e09d624450025ae2369e8391aca394e60c76f08f7083aa43cf5fb19eabfbe201af43983ccf2eddc4c4d1') + +package() { + _gemdir="$(ruby -e'puts Gem.default_dir')" + + gem install --ignore-dependencies --no-user-install --no-document --no-wrapper \ + -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem + + rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem" + find "$pkgdir/$_gemdir/extensions/" -name *.so -delete + + install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE" \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |