summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcaltlgin2020-09-08 07:54:01 +1200
committercaltlgin2020-09-08 07:54:01 +1200
commitea6980953bbe6d2ea7f1abfed92a087b319bcfd6 (patch)
tree7a755ec640d045cc533a7d274c0555cf2886bff7
parent7472a40eb46d3976d38f5e537f91f0437fab1e87 (diff)
downloadaur-chaos-client-bin.tar.gz
Add arch armv6h and aarch64
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD14
2 files changed, 18 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4c90caa134c..7551cff39ac 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -4,10 +4,16 @@ pkgbase = chaos-client-bin
pkgrel = 1
url = https://github.com/projectdiscovery/chaos-client
arch = x86_64
+ arch = armv6h
+ arch = aarch64
license = MIT
provides = chaos
- source = chaos-0.1.6.tgz::https://github.com/projectdiscovery/chaos-client/releases/download/v0.1.6/chaos-client_0.1.6_linux_amd64.tar.gz
- sha256sums = 7d0d30718517a64edf88ce5ab50aea7cdd2027652815bfeb06f294445e0853c6
+ source_x86_64 = chaos-0.1.6.tar.gz::https://github.com/projectdiscovery/chaos-client/releases/download/v0.1.6/chaos-client_0.1.6_linux_amd64.tar.gz
+ sha256sums_x86_64 = 7d0d30718517a64edf88ce5ab50aea7cdd2027652815bfeb06f294445e0853c6
+ source_armv6h = chaos-0.1.6.tar.gz::https://github.com/projectdiscovery/chaos-client/releases/download/v0.1.6/chaos-client_0.1.6_linux_armv6.tar.gz
+ sha256sums_armv6h = 2dd51671a127b1b9af936111838a505f47b4dfe98e63ade7529ae34feb469cfc
+ source_aarch64 = chaos-0.1.6.tar.gz::https://github.com/projectdiscovery/chaos-client/releases/download/v0.1.6/chaos-client_0.1.6_linux_arm64.tar.gz
+ sha256sums_aarch64 = b1deda446b8d32740a6e2c174ab367a448102d5cfbf34d1bd47517e026d1882d
pkgname = chaos-client-bin
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}"