summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorcaltlgin2020-09-08 07:54:01 +1200
committercaltlgin2020-09-08 07:54:01 +1200
commitea6980953bbe6d2ea7f1abfed92a087b319bcfd6 (patch)
tree7a755ec640d045cc533a7d274c0555cf2886bff7 /PKGBUILD
parent7472a40eb46d3976d38f5e537f91f0437fab1e87 (diff)
downloadaur-chaos-client-bin.tar.gz
Add arch armv6h and aarch64
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f589fbc78e7..e9d5b75d66a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,22 @@
# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
-_pkgname=chaos
+_pkgname='chaos'
pkgname="${_pkgname}-client-bin"
pkgver=0.1.6
pkgrel=1
pkgdesc='Client to communicate with Chaos DNS API'
-arch=('x86_64')
+arch=('x86_64' 'armv6h' 'aarch64')
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')
+
+source_x86_64=("${_pkgname}-${pkgver}.tar.gz::${url}/releases/download/v${pkgver}/${_pkgname}-client_${pkgver}_linux_amd64.tar.gz")
+source_armv6h=("${_pkgname}-${pkgver}.tar.gz::${url}/releases/download/v${pkgver}/${_pkgname}-client_${pkgver}_linux_armv6.tar.gz")
+source_aarch64=("${_pkgname}-${pkgver}.tar.gz::${url}/releases/download/v${pkgver}/${_pkgname}-client_${pkgver}_linux_arm64.tar.gz")
+
+sha256sums_x86_64=('7d0d30718517a64edf88ce5ab50aea7cdd2027652815bfeb06f294445e0853c6')
+sha256sums_armv6h=('2dd51671a127b1b9af936111838a505f47b4dfe98e63ade7529ae34feb469cfc')
+sha256sums_aarch64=('b1deda446b8d32740a6e2c174ab367a448102d5cfbf34d1bd47517e026d1882d')
package() {
install -Dm755 -t "${pkgdir}/usr/bin" "${_pkgname}"