blob: eda9f4c41ef3ea3f201f2727524eecd7fa6405d9 (
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: Jean Schoeller jean@schoeller.fr
pkgname="iio-hyprland-git"
_pkgname="iio-hyprland"
pkgbase="iio-hyprland-git"
pkgver=r67.bd6be6b
pkgrel=1
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() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
arch-meson "$_pkgname" build
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
}
|