blob: 0dc8e2d5439462e190e5eae97043f6edfde0dc58 (
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
33
34
35
36
37
38
39
40
|
# Maintainer: Jean Schoeller <jean@schoeller.fr>
pkgname="iio-hyprland-git"
_pkgname="iio-hyprland"
pkgbase="iio-hyprland"
pkgver=r32.286e009
pkgrel=2
pkgdesc="Reads iio-proxy-sensor output to enable automatic touchscreen rotation in Hyprland"
arch=("x86_64")
depends=("iio-sensor-proxy")
makedepends=("meson" "git")
licence=" GPL-3.0-or-later"
url="https://github.com/JeanSchoeller/iio-hyprland.git"
source=("iio-hyprland::git+https://github.com/JeanSchoeller/iio-hyprland.git")
sha1sums=(
SKIP
)
pkgver() {
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
arch-meson "$_pkgname" build
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
}
|