blob: 93582b272893006e3768e8e6c8549c27d9c767a8 (
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
32
|
# Maintainer: szdytom <szdytom@qq.com>
# Maintainer: k0kubun <takashikkbn@gmail.com>
pkgname=xremap-gnome-bin
pkgdesc='Dynamic key remapper for X11 and Wayland (Gnome Wayland Version)'
pkgver=0.10.2
pkgrel=1
provides=('xremap')
license=('MIT')
url='https://github.com/k0kubun/xremap'
arch=('x86_64' 'aarch64')
source=("LICENSE")
sha256sums=("60365594c733128ba50f05de00c4a6f07fed0a6e8bbd93817f39ded3980f7343")
source_x86_64=("$pkgname-$pkgver-x86_64.zip::https://github.com/k0kubun/xremap/releases/download/v$pkgver/xremap-linux-x86_64-gnome.zip")
sha256sums_x86_64=('4c0cfe39752842c7d302c0604961b5efa789393fe4fb15e2f62064e5223dc8e8')
source_aarch64=("$pkgname-$pkgver-aarch64.zip::https://github.com/k0kubun/xremap/releases/download/v$pkgver/xremap-linux-aarch64-gnome.zip")
sha256sums_aarch64=('6177394ab9270ee005272a6df98af95a45b8e45cc1a723ebdd216b221812ef65')
package() {
cd "$srcdir/"
./xremap --completions zsh > zsh_completions
./xremap --completions fish > fish_completions
./xremap --completions bash > bash_completions
install -Dm644 zsh_completions "${pkgdir}/usr/share/zsh/site-functions/_xremap"
install -Dm644 fish_completions "${pkgdir}/usr/share/fish/vendor_completions.d/xremap.fish"
install -Dm644 bash_completions "${pkgdir}/usr/share/bash-completion/completions/xremap"
install -Dm755 xremap "${pkgdir}/usr/bin/xremap"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/xremap-gnome-bin/LICENSE"
}
|