summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramadejpapez2021-11-16 22:22:42 +0100
committerYigit Sever2022-12-25 19:02:26 +0300
commitaa3863625c8a130c6c8286f39127c821e385fe63 (patch)
tree1b6a4a4c95a9e721edf0d0817dfe37f4e67843ca
parent393ebe8842b2c50e17725e15605f368429a0e1a9 (diff)
downloadpackages-aa3863625c8a130c6c8286f39127c821e385fe63.tar.gz
packages-aa3863625c8a130c6c8286f39127c821e385fe63.tar.bz2
packages-aa3863625c8a130c6c8286f39127c821e385fe63.zip
New upstream release 2.0.6
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 8 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d15275a..f9baf42 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
1pkgbase = gau 1pkgbase = 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 = 1.2.0 3 pkgver = 2.0.6
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 = x86_64
7 license = MIT 7 license = MIT
8 makedepends = go 8 makedepends = go
9 depends = glibc 9 depends = glibc
10 source = gau-1.2.0.tar.gz::https://github.com/lc/gau/archive/v1.2.0.tar.gz 10 source = gau-2.0.6.tar.gz::https://github.com/lc/gau/archive/v2.0.6.tar.gz
11 sha256sums = fb363fab0d63fc3a46b4a42bcbf71bc817995b9f14523c0f4fce8ba9c0d89ffa 11 sha256sums = 1728c341b147388fa8e60784c4b3895391be25f1e2e1b1cbb734329be7603693
12 12
13pkgname = gau 13pkgname = gau
diff --git a/PKGBUILD b/PKGBUILD
index f6ab890..564868b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
1# Maintainer: amadejpapez 1# Maintainer: <contact@amadejpapez.com>
2 2
3pkgname='gau' 3pkgname='gau'
4pkgver=1.2.0 4pkgver=2.0.6
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=('x86_64')
@@ -10,7 +10,7 @@ license=('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=('fb363fab0d63fc3a46b4a42bcbf71bc817995b9f14523c0f4fce8ba9c0d89ffa') 13sha256sums=('1728c341b147388fa8e60784c4b3895391be25f1e2e1b1cbb734329be7603693')
14 14
15prepare() { 15prepare() {
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
31package() { 31package() {
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: