diff options
author | amadejpapez | 2022-01-18 19:52:39 +0100 |
---|---|---|
committer | amadejpapez | 2022-01-18 19:52:39 +0100 |
commit | 1be890c6faded6bf035298f918e1f3c25ec295c6 (patch) | |
tree | 65f3bbbedb9044c9e3fb3e7a63a7a4c10e188a77 | |
parent | 70c89b581dd958aa2e13b909d6558eda6381ba01 (diff) | |
download | packages-1be890c6faded6bf035298f918e1f3c25ec295c6.tar.gz packages-1be890c6faded6bf035298f918e1f3c25ec295c6.tar.bz2 packages-1be890c6faded6bf035298f918e1f3c25ec295c6.zip |
Upstream release 2.0.8
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 11 insertions, 17 deletions
@@ -1,13 +1,13 @@ | |||
1 | pkgbase = gau | 1 | pkgbase = gau |
2 | pkgdesc = Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl | 2 | pkgdesc = Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl |
3 | pkgver = 2.0.6 | 3 | pkgver = 2.0.8 |
4 | pkgrel = 1 | 4 | pkgrel = 1 |
5 | url = https://github.com/lc/gau | 5 | url = https://github.com/lc/gau |
6 | arch = x86_64 | 6 | arch = any |
7 | license = MIT | 7 | license = MIT |
8 | makedepends = go | 8 | makedepends = go |
9 | depends = glibc | 9 | depends = glibc |
10 | source = gau-2.0.6.tar.gz::https://github.com/lc/gau/archive/v2.0.6.tar.gz | 10 | source = gau-2.0.8.tar.gz::https://github.com/lc/gau/archive/v2.0.8.tar.gz |
11 | sha256sums = 1728c341b147388fa8e60784c4b3895391be25f1e2e1b1cbb734329be7603693 | 11 | sha256sums = 9604f0b7bf258547778a155afd2c58d32eeeb82d3bcbcbe97616ccefd1287d9a |
12 | 12 | ||
13 | pkgname = gau | 13 | pkgname = gau |
@@ -1,21 +1,16 @@ | |||
1 | # Maintainer: <contact@amadejpapez.com> | 1 | # Maintainer: <contact@amadejpapez.com> |
2 | 2 | ||
3 | pkgname='gau' | 3 | pkgname=gau |
4 | pkgver=2.0.6 | 4 | pkgver=2.0.8 |
5 | pkgrel=1 | 5 | pkgrel=1 |
6 | pkgdesc="Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl" | 6 | pkgdesc="Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl" |
7 | arch=('x86_64') | 7 | arch=(any) |
8 | url='https://github.com/lc/gau' | 8 | url='https://github.com/lc/gau' |
9 | license=('MIT') | 9 | license=(MIT) |
10 | depends=('glibc') | 10 | depends=(glibc) |
11 | makedepends=('go') | 11 | makedepends=(go) |
12 | source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") | 12 | source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") |
13 | sha256sums=('1728c341b147388fa8e60784c4b3895391be25f1e2e1b1cbb734329be7603693') | 13 | sha256sums=('9604f0b7bf258547778a155afd2c58d32eeeb82d3bcbcbe97616ccefd1287d9a') |
14 | |||
15 | prepare() { | ||
16 | export GOPATH="${srcdir}/gopath" | ||
17 | go clean -modcache | ||
18 | } | ||
19 | 14 | ||
20 | build() { | 15 | build() { |
21 | export CGO_CPPFLAGS="${CPPFLAGS}" | 16 | export CGO_CPPFLAGS="${CPPFLAGS}" |
@@ -31,6 +26,5 @@ build() { | |||
31 | package() { | 26 | package() { |
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 | } |