blob: ac99aa006f02eba0023d811ddaac900ba902a851 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Hao Long <aur@esd.cc>
pkgname=shuffledns
pkgver=1.1.0
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")
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
b2sums=('3f8bf2389ecf5ee47254b35aad130db54e6345dcf4a6216dca200534602863c5c45610cfcb2c14de83de4971bc0a360ac34a0b7fe063e79608f62f5acdb150ef')
build() {
cd ${pkgname}-${pkgver}/cmd/${pkgname}
go build \
-trimpath \
-buildmode=pie \
-mod=readonly \
-modcacherw \
-ldflags "-extldflags \"${LDFLAGS}\"" \
.
}
package() {
cd ${pkgname}-${pkgver}/cmd/${pkgname}
install -Dm755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}
}
|