summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoramadejpapez2022-01-18 19:52:39 +0100
committerYigit Sever2022-12-25 19:02:26 +0300
commit6d4f47a4e343a526511d16aac1db6945f676fe16 (patch)
treedb3430b4d3b97ccddc0fb618e6379cde3087bc04 /PKGBUILD
parentaa3863625c8a130c6c8286f39127c821e385fe63 (diff)
downloadpackages-6d4f47a4e343a526511d16aac1db6945f676fe16.tar.gz
packages-6d4f47a4e343a526511d16aac1db6945f676fe16.tar.bz2
packages-6d4f47a4e343a526511d16aac1db6945f676fe16.zip
Upstream release 2.0.8
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 7 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 564868b..c4de113 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,21 +1,16 @@
1# Maintainer: <contact@amadejpapez.com> 1# Maintainer: <contact@amadejpapez.com>
2 2
3pkgname='gau' 3pkgname=gau
4pkgver=2.0.6 4pkgver=2.0.8
5pkgrel=1 5pkgrel=1
6pkgdesc="Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl" 6pkgdesc="Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl"
7arch=('x86_64') 7arch=(any)
8url='https://github.com/lc/gau' 8url='https://github.com/lc/gau'
9license=('MIT') 9license=(MIT)
10depends=('glibc') 10depends=(glibc)
11makedepends=('go') 11makedepends=(go)
12source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") 12source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
13sha256sums=('1728c341b147388fa8e60784c4b3895391be25f1e2e1b1cbb734329be7603693') 13sha256sums=('9604f0b7bf258547778a155afd2c58d32eeeb82d3bcbcbe97616ccefd1287d9a')
14
15prepare() {
16 export GOPATH="${srcdir}/gopath"
17 go clean -modcache
18}
19 14
20build() { 15build() {
21 export CGO_CPPFLAGS="${CPPFLAGS}" 16 export CGO_CPPFLAGS="${CPPFLAGS}"
@@ -31,6 +26,5 @@ build() {
31package() { 26package() {
32 cd "${pkgname}-${pkgver}" 27 cd "${pkgname}-${pkgver}"
33 install -Dvm755 "cmd/gau/gau" -t "${pkgdir}/usr/bin" 28 install -Dvm755 "cmd/gau/gau" -t "${pkgdir}/usr/bin"
34 install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${pkgname}"
35 install -Dvm644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${pkgname}" 29 install -Dvm644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${pkgname}"
36} 30}