From 70c89b581dd958aa2e13b909d6558eda6381ba01 Mon Sep 17 00:00:00 2001 From: amadejpapez Date: Tue, 16 Nov 2021 22:22:42 +0100 Subject: New upstream release 2.0.6 --- .SRCINFO | 6 +++--- PKGBUILD | 12 +++++------- 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 @@ pkgbase = gau pkgdesc = Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl - pkgver = 1.2.0 + pkgver = 2.0.6 pkgrel = 1 url = https://github.com/lc/gau arch = x86_64 license = MIT makedepends = go depends = glibc - source = gau-1.2.0.tar.gz::https://github.com/lc/gau/archive/v1.2.0.tar.gz - sha256sums = fb363fab0d63fc3a46b4a42bcbf71bc817995b9f14523c0f4fce8ba9c0d89ffa + source = gau-2.0.6.tar.gz::https://github.com/lc/gau/archive/v2.0.6.tar.gz + sha256sums = 1728c341b147388fa8e60784c4b3895391be25f1e2e1b1cbb734329be7603693 pkgname = gau diff --git a/PKGBUILD b/PKGBUILD index f6ab890..564868b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ -# Maintainer: amadejpapez +# Maintainer: pkgname='gau' -pkgver=1.2.0 +pkgver=2.0.6 pkgrel=1 pkgdesc="Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl" arch=('x86_64') @@ -10,7 +10,7 @@ license=('MIT') depends=('glibc') makedepends=('go') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha256sums=('fb363fab0d63fc3a46b4a42bcbf71bc817995b9f14523c0f4fce8ba9c0d89ffa') +sha256sums=('1728c341b147388fa8e60784c4b3895391be25f1e2e1b1cbb734329be7603693') prepare() { export GOPATH="${srcdir}/gopath" @@ -24,15 +24,13 @@ build() { export CGO_LDFLAGS="${LDFLAGS}" export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" - cd "${pkgname}-${pkgver}" + cd "${pkgname}-${pkgver}/cmd/gau" go build -v -o "${pkgname}" . } package() { cd "${pkgname}-${pkgver}" - install -Dvm755 "${pkgname}" -t "${pkgdir}/usr/bin" + 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}" } - -# vim: ts=2 sw=2 et: -- cgit v1.2.3-70-g09d2