blob: 225287c0c1ba11848353290b68c5ad3a01f85d58 (
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
|
# Maintainer: Thomas Dagenais <exrok@i64.dev>
pkgname=evdoublebind
pkgver=r21.54434dd
pkgrel=1
pkgdesc="small evdev keyboard key macro binding and XKB generator for doublebindings"
arch=('x86_64')
url="https://github.com/exrok/evdoublebind"
license=('MIT')
depends=('libxkbcommon')
makedepends=('git' 'make' 'linux-headers')
source=("git+${url}.git")
sha512sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build () {
cd "${srcdir}/${pkgname}"
# Alternatively you can build a musl static binary
# make musl-static
make
}
package () {
cd "${srcdir}/${pkgname}"
DESTDIR="${pkgdir}" make install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}
|