summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMidAutumnMoon2021-03-11 18:39:39 +0800
committerMidAutumnMoon2021-03-11 18:39:39 +0800
commit4c5091d5f36cd3f24e18cf32d94213252391a7a5 (patch)
treeb8933826d433da63b8fd7bb0060b54c527039c11 /PKGBUILD
parent75dae1c8da75b544385a146abf9a219b5483c8e2 (diff)
downloadaur-4c5091d5f36cd3f24e18cf32d94213252391a7a5.tar.gz
Package for other architectures
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 15 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4ff4a68d0b4..70904723b5b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,28 @@
# Maintainer: MidAutumnMoon <mid.autumn0moon@gmail.com>
pkgname=assh-bin
+_pkgname=${pkgname/-bin}
pkgver=2.11.3
-pkgrel=1
+pkgrel=2
pkgdesc="make your ssh client smarter"
-arch=( 'x86_64' )
+arch=( 'x86_64' 'i686' 'aarch64' 'armv6h' 'armv7h' )
url="https://github.com/moul/assh"
license=( 'MIT' )
-source=( https://github.com/moul/assh/releases/download/v${pkgver}/assh_linux_amd64 )
-sha256sums=( 'cc20837cf3f6cbf461e23815ba075e457162b7b5c5bc50ce7554db699f8b7e49' )
+source_x86_64=( assh::https://github.com/moul/assh/releases/download/v${pkgver}/assh_linux_amd64 )
+source_i686=( assh::https://github.com/moul/assh/releases/download/v${pkgver}/assh_linux_386 )
+source_armv6h=( assh::https://github.com/moul/assh/releases/download/v${pkgver}/assh_linux_arm )
+source_armv7h=( assh::https://github.com/moul/assh/releases/download/v${pkgver}/assh_linux_arm )
+source_aarch64=( assh::https://github.com/moul/assh/releases/download/v${pkgver}/assh_linux_arm64 )
+
+sha256sums_x86_64=( 'cc20837cf3f6cbf461e23815ba075e457162b7b5c5bc50ce7554db699f8b7e49' )
+sha256sums_i686=( '70003970b9973ebbaeee92fcf260a12d814e019f5e2d4eda636c541bc53dd986' )
+sha256sums_aarch64=( '542f4ac25b249e461da9b917b0d6db1f6450756168d6ec3ce752a26a6c7572a8' )
+sha256sums_armv6h=( '678f7121a9f05d2092db426ba1106d77df4d347de07b15ee15b55da01a1390ad' )
+sha256sums_armv7h=( '678f7121a9f05d2092db426ba1106d77df4d347de07b15ee15b55da01a1390ad' )
provides=( 'assh' )
package() {
- install -Dm755 "${srcdir}/assh_linux_amd64" "${pkgdir}/usr/bin/assh"
+ install -Dm755 "${srcdir}/assh" "${pkgdir}/usr/bin/assh"
}