From 6d4f47a4e343a526511d16aac1db6945f676fe16 Mon Sep 17 00:00:00 2001 From: amadejpapez Date: Tue, 18 Jan 2022 19:52:39 +0100 Subject: Upstream release 2.0.8 --- .SRCINFO | 8 ++++---- PKGBUILD | 20 +++++++------------- 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index f9baf42..103f069 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,13 +1,13 @@ pkgbase = gau pkgdesc = Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl - pkgver = 2.0.6 + pkgver = 2.0.8 pkgrel = 1 url = https://github.com/lc/gau - arch = x86_64 + arch = any license = MIT makedepends = go depends = glibc - source = gau-2.0.6.tar.gz::https://github.com/lc/gau/archive/v2.0.6.tar.gz - sha256sums = 1728c341b147388fa8e60784c4b3895391be25f1e2e1b1cbb734329be7603693 + source = gau-2.0.8.tar.gz::https://github.com/lc/gau/archive/v2.0.8.tar.gz + sha256sums = 9604f0b7bf258547778a155afd2c58d32eeeb82d3bcbcbe97616ccefd1287d9a pkgname = gau diff --git a/PKGBUILD b/PKGBUILD index 564868b..c4de113 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,21 +1,16 @@ # Maintainer: -pkgname='gau' -pkgver=2.0.6 +pkgname=gau +pkgver=2.0.8 pkgrel=1 pkgdesc="Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl" -arch=('x86_64') +arch=(any) url='https://github.com/lc/gau' -license=('MIT') -depends=('glibc') -makedepends=('go') +license=(MIT) +depends=(glibc) +makedepends=(go) source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha256sums=('1728c341b147388fa8e60784c4b3895391be25f1e2e1b1cbb734329be7603693') - -prepare() { - export GOPATH="${srcdir}/gopath" - go clean -modcache -} +sha256sums=('9604f0b7bf258547778a155afd2c58d32eeeb82d3bcbcbe97616ccefd1287d9a') build() { export CGO_CPPFLAGS="${CPPFLAGS}" @@ -31,6 +26,5 @@ build() { package() { cd "${pkgname}-${pkgver}" install -Dvm755 "cmd/gau/gau" -t "${pkgdir}/usr/bin" - install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${pkgname}" install -Dvm644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${pkgname}" } -- cgit v1.2.3-70-g09d2