summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2022-12-25 19:02:49 +0300
committerYigit Sever2022-12-25 19:02:49 +0300
commitae43c9079dc3762405740e4d80e54d67f29f2685 (patch)
treef6e6aa05b1624ed57fc2ee6a3dd5b69606425e20
parent6d4f47a4e343a526511d16aac1db6945f676fe16 (diff)
downloadpackages-ae43c9079dc3762405740e4d80e54d67f29f2685.tar.gz
packages-ae43c9079dc3762405740e4d80e54d67f29f2685.tar.bz2
packages-ae43c9079dc3762405740e4d80e54d67f29f2685.zip
Remove stray PKGBUILD
-rw-r--r--PKGBUILD30
1 files changed, 0 insertions, 30 deletions
diff --git a/PKGBUILD b/PKGBUILD
deleted file mode 100644
index c4de113..0000000
--- a/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
1# Maintainer: <contact@amadejpapez.com>
2
3pkgname=gau
4pkgver=2.0.8
5pkgrel=1
6pkgdesc="Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl"
7arch=(any)
8url='https://github.com/lc/gau'
9license=(MIT)
10depends=(glibc)
11makedepends=(go)
12source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
13sha256sums=('9604f0b7bf258547778a155afd2c58d32eeeb82d3bcbcbe97616ccefd1287d9a')
14
15build() {
16 export CGO_CPPFLAGS="${CPPFLAGS}"
17 export CGO_CFLAGS="${CFLAGS}"
18 export CGO_CXXFLAGS="${CXXFLAGS}"
19 export CGO_LDFLAGS="${LDFLAGS}"
20 export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
21
22 cd "${pkgname}-${pkgver}/cmd/gau"
23 go build -v -o "${pkgname}" .
24}
25
26package() {
27 cd "${pkgname}-${pkgver}"
28 install -Dvm755 "cmd/gau/gau" -t "${pkgdir}/usr/bin"
29 install -Dvm644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${pkgname}"
30}