From 7e8b0f54a876dae77f0bf252da798c3b6fa32507 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 16 Feb 2023 16:52:01 +0300 Subject: Deleted package: dnsx --- dnsx/.SRCINFO | 13 ------------- dnsx/.gitignore | 4 ---- dnsx/PKGBUILD | 37 ------------------------------------- 3 files changed, 54 deletions(-) delete mode 100644 dnsx/.SRCINFO delete mode 100644 dnsx/.gitignore delete mode 100644 dnsx/PKGBUILD (limited to 'dnsx') diff --git a/dnsx/.SRCINFO b/dnsx/.SRCINFO deleted file mode 100644 index 52b09eb..0000000 --- a/dnsx/.SRCINFO +++ /dev/null @@ -1,13 +0,0 @@ -pkgbase = dnsx - pkgdesc = Fast and multi-purpose DNS toolkit - pkgver = 1.1.2 - pkgrel = 1 - url = https://github.com/projectdiscovery/dnsx - arch = x86_64 - license = MIT - makedepends = go - provides = dnsx - source = dnsx-1.1.2.tar.gz::https://github.com/projectdiscovery/dnsx/archive/v1.1.2.tar.gz - sha256sums = fd2375639c00021c99e69071011df64aa233f07aa6935968880ec134412dd993 - -pkgname = dnsx diff --git a/dnsx/.gitignore b/dnsx/.gitignore deleted file mode 100644 index 05c6d4d..0000000 --- a/dnsx/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -* -!.gitignore -!.SRCINFO -!PKGBUILD diff --git a/dnsx/PKGBUILD b/dnsx/PKGBUILD deleted file mode 100644 index d37017d..0000000 --- a/dnsx/PKGBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer: Yigit Sever -# Contributor: Caltlgin Stsodaat - -pkgname='dnsx' -pkgver=1.1.2 -pkgrel=1 -pkgdesc='Fast and multi-purpose DNS toolkit' -arch=('x86_64') -url='https://github.com/projectdiscovery/dnsx' -license=('MIT') -makedepends=('go') -provides=("${pkgname}") -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha256sums=('fd2375639c00021c99e69071011df64aa233f07aa6935968880ec134412dd993') - -prepare() { - export GOPATH="${srcdir}/gopath" - go clean -modcache -} - -build() { - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - export CGO_LDFLAGS="${LDFLAGS}" - export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" - - cd "${pkgname}-${pkgver}/cmd/${pkgname}" - go build -v -o "${pkgname}" . -} - -package() { - cd "${pkgname}-${pkgver}" - install -Dvm755 "cmd/${pkgname}/${pkgname}" -t "${pkgdir}/usr/bin" - install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${pkgname}" - install -Dvm644 'LICENSE.md' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} -- cgit v1.2.3-70-g09d2