summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorcaltlgin2020-08-08 07:49:48 +1200
committercaltlgin2020-08-08 07:49:48 +1200
commit7472a40eb46d3976d38f5e537f91f0437fab1e87 (patch)
tree2b19c236e5a33bf99d5362bb8af211ae937c704b /PKGBUILD
downloadaur-7472a40eb46d3976d38f5e537f91f0437fab1e87.tar.gz
Add to AUR
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f589fbc78e7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
+
+_pkgname=chaos
+pkgname="${_pkgname}-client-bin"
+pkgver=0.1.6
+pkgrel=1
+pkgdesc='Client to communicate with Chaos DNS API'
+arch=('x86_64')
+url='https://github.com/projectdiscovery/chaos-client'
+license=('MIT')
+provides=("${_pkgname}")
+source=("${_pkgname}-${pkgver}.tgz::${url}/releases/download/v${pkgver}/${_pkgname}-client_${pkgver}_linux_amd64.tar.gz")
+sha256sums=('7d0d30718517a64edf88ce5ab50aea7cdd2027652815bfeb06f294445e0853c6')
+
+package() {
+ install -Dm755 -t "${pkgdir}/usr/bin" "${_pkgname}"
+ install -Dm644 -t "${pkgdir}/usr/share/doc/${_pkgname}" 'README.md'
+ install -Dm644 -t "${pkgdir}/usr/share/licenses/${_pkgname}" 'LICENSE'
+}
+
+# vim: ts=2 sw=2 et: