diff options
author | imlonghao | 2020-04-26 14:27:02 +0000 |
---|---|---|
committer | imlonghao | 2020-04-26 14:27:02 +0000 |
commit | dba0666526da0913aa6dd1970bac6d1b27cec19a (patch) | |
tree | 1d1bb00925c20f6b488234fa47b4dd9dc759f0da | |
download | aur-dba0666526da0913aa6dd1970bac6d1b27cec19a.tar.gz |
New package
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d8b50f8d9540 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = shuffledns + pkgdesc = A wrapper around massdns written in go + pkgver = 1.0.2 + pkgrel = 1 + url = https://github.com/projectdiscovery/shuffledns + arch = x86_64 + arch = i686 + license = GPL3 + makedepends = go-pie + depends = massdns + provides = shuffledns + conflicts = shuffledns + source = shuffledns-1.0.2.tar.gz::https://github.com/projectdiscovery/shuffledns/archive/v1.0.2.tar.gz + sha256sums = f33540acb21c9ab7e2b21f35ce6b5c16707402a60e0fd62819bd1f868343ce60 + +pkgname = shuffledns + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b9071a6f23a7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Hao Long <aur@esd.cc> + +pkgname=shuffledns +pkgver=1.0.2 +pkgrel=1 +pkgdesc="A wrapper around massdns written in go" +arch=("x86_64" "i686") +url="https://github.com/projectdiscovery/shuffledns" +license=("GPL3") +provides=('shuffledns') +conflicts=('shuffledns') +depends=("massdns") +makedepends=("go-pie") +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") +sha256sums=('f33540acb21c9ab7e2b21f35ce6b5c16707402a60e0fd62819bd1f868343ce60') + +build() { + cd ${pkgname}-${pkgver}/cmd/${pkgname} + go build -trimpath -ldflags "-extldflags ${LDFLAGS}" . +} + +package() { + cd ${pkgname}-${pkgver}/cmd/${pkgname} + install -Dm755 ${pkgname} ${pkgdir}/usr/bin/${pkgname} +} |