summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bac6aaec66beb8e2a88c6dcc1e61f868a9eb420f (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
# Maintainer: Fang Erjing <szdytom@qq.com>
pkgname=kd-bin
pkgver=0.0.10
pkgrel=1
pkgdesc="A crystal clean command-line dictionary."
arch=('x86_64' 'aarch64')
url="https://github.com/Karmenzind/kd"
license=('MIT')
depends=()
provides=('kd')
conflicts=('kd')

source=('LICENSE' 'kd-server.service')
sha256sums=('01fc1f8f20ef852628985a6fdb862fadd1c2f3b438cd3104c6a8e724bc16986a'
'89eb98a14555b6a6fe1209ce428b39abe348ca36affea432572dc3ac81a75517')

source_x86_64=("kd::https://github.com/Karmenzind/kd/releases/download/v${pkgver}/kd_linux_amd64")
sha256sums_x86_64=('69cb24fbc3280c367e50dfc81e0b714c2138a8608e05ba0e3f9c180313c0a39a')

source_aarch64=("kd::https://github.com/Karmenzind/kd/releases/download/v${pkgver}/kd_linux_arm64")
sha256sums_aarch64=('c2c1383ade9bde8aca4fbc583f51dc18ecd55238e316b9e5dfbd03c39146b6c4')

package() {
	cd "$srcdir/"
	install -Dm755 kd $pkgdir/usr/bin/kd
	install -Dm644 LICENSE $pkgdir/usr/share/licenses/kd/LICENSE
	install -Dm644 kd-server.service $pkgdir/usr/lib/systemd/user/kd-server.service
}