diff options
author | amadejpapez | 2021-11-16 22:22:42 +0100 |
---|---|---|
committer | amadejpapez | 2021-11-16 22:22:42 +0100 |
commit | 70c89b581dd958aa2e13b909d6558eda6381ba01 (patch) | |
tree | c78eca0e216918281dc5cb0f221c293c5428f3a9 /PKGBUILD | |
parent | 713f461769b352924715536d8aa0f1ab996b780c (diff) | |
download | packages-70c89b581dd958aa2e13b909d6558eda6381ba01.tar.gz packages-70c89b581dd958aa2e13b909d6558eda6381ba01.tar.bz2 packages-70c89b581dd958aa2e13b909d6558eda6381ba01.zip |
New upstream release 2.0.6
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -1,7 +1,7 @@ | |||
1 | # Maintainer: amadejpapez | 1 | # Maintainer: <contact@amadejpapez.com> |
2 | 2 | ||
3 | pkgname='gau' | 3 | pkgname='gau' |
4 | pkgver=1.2.0 | 4 | pkgver=2.0.6 |
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=('x86_64') |
@@ -10,7 +10,7 @@ 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=('fb363fab0d63fc3a46b4a42bcbf71bc817995b9f14523c0f4fce8ba9c0d89ffa') | 13 | sha256sums=('1728c341b147388fa8e60784c4b3895391be25f1e2e1b1cbb734329be7603693') |
14 | 14 | ||
15 | prepare() { | 15 | prepare() { |
16 | export GOPATH="${srcdir}/gopath" | 16 | export GOPATH="${srcdir}/gopath" |
@@ -24,15 +24,13 @@ build() { | |||
24 | export CGO_LDFLAGS="${LDFLAGS}" | 24 | export CGO_LDFLAGS="${LDFLAGS}" |
25 | export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" | 25 | export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" |
26 | 26 | ||
27 | cd "${pkgname}-${pkgver}" | 27 | cd "${pkgname}-${pkgver}/cmd/gau" |
28 | go build -v -o "${pkgname}" . | 28 | go build -v -o "${pkgname}" . |
29 | } | 29 | } |
30 | 30 | ||
31 | package() { | 31 | package() { |
32 | cd "${pkgname}-${pkgver}" | 32 | cd "${pkgname}-${pkgver}" |
33 | install -Dvm755 "${pkgname}" -t "${pkgdir}/usr/bin" | 33 | install -Dvm755 "cmd/gau/gau" -t "${pkgdir}/usr/bin" |
34 | install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${pkgname}" | 34 | install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${pkgname}" |
35 | install -Dvm644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${pkgname}" | 35 | install -Dvm644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${pkgname}" |
36 | } | 36 | } |
37 | |||
38 | # vim: ts=2 sw=2 et: | ||