blob: 10b814bfbf3f12f496689a9c718e8b3f1a8ac1df (
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
|
# Maintainer: Clément Martinez <me at moverest dot xyz>
pkgname=wl-kbptr
pkgver=0.4.1
pkgrel=2
url="https://github.com/moverest/wl-kbptr"
pkgdesc="Control the mouse pointer with the keyboard on Wayland"
arch=('x86_64' 'aarch64')
license=('GPL-3.0')
depends=('cairo' 'wayland' 'libxkbcommon' 'opencv' 'pixman')
makedepends=('meson' 'wayland-protocols')
source=("https://github.com/moverest/wl-kbptr/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('03ac52afa42d7aa88f909f96b2c0e57f5706a11d5d0ff451f6052927571e0624')
build() {
arch-meson "$pkgname-$pkgver" build -Dopencv=enabled
ninja -C build
}
package() {
DESTDIR="$pkgdir" ninja -C build install
cd "$pkgname-$pkgver"
install -Dm 0755 helpers/wl-kbptr-sway-active-win -t "$pkgdir/usr/bin/"
install -Dm 0644 LICENSE -t "$pkgdir/usr/share/licenses/wl-kbptr/"
install -Dm 0644 README.md -t "$pkgdir/usr/share/doc/wl-kbptr/"
}
|