blob: b44bf7861fc043cd49a02040956f37fcaef5b3f5 (
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: David Harrigan <dharrigan [@] gmail [dot] com>
pkgname=zrok-bin
pkgver=1.0.2
pkgrel=1
pkgdesc='An open source sharing solution built on OpenZiti'
arch=('x86_64' 'aarch64' 'armv7h')
url='https://github.com/openziti/zrok'
license=('Apache')
depends=('glibc')
provides=("${pkgname%-bin}")
conflicts=("${pkgname%-bin}")
install="${pkgname}.install"
source=('zrok-agent.service')
source_aarch64=("${pkgname}-${pkgver}-linux-arm64.tar.gz::${url}/releases/download/v${pkgver}/${pkgname%-bin}_${pkgver}_linux_arm64.tar.gz")
source_armv7h=("${pkgname}-${pkgver}-linux-armv7.tar.gz::${url}/releases/download/v${pkgver}/${pkgname%-bin}_${pkgver}_linux_armv7.tar.gz")
source_x86_64=("${pkgname}-${pkgver}-linux-amd64.tar.gz::${url}/releases/download/v${pkgver}/${pkgname%-bin}_${pkgver}_linux_amd64.tar.gz")
sha256sums=('e510465ca8b29a514ef67f3d5bc41d613413a88781c17f88afdaa594fb4bfe7c')
sha256sums_x86_64=('55a8730806c4064cc6c0ddedabc6cd473feb10aee79536e9775268a63a4e8bcf')
sha256sums_aarch64=('f5a6e9253cc77bbbe3130d05f5252ca11ba3d7b866d6fb99d41b9172fa1d3f09')
sha256sums_armv7h=('d756721114be1ae56ebf5d01e0ffebef3ce64afb16cf7c5a6c2038ccb5cec3ff')
package() {
install -Dm0755 "${pkgname%-bin}" -t "$pkgdir/usr/bin/"
install -Dm0644 "$srcdir/zrok-agent.service" "$pkgdir/usr/lib/systemd/user/zrok-agent.service"
}
# vim:set ts=2 sw=2 et:
|