blob: 9381df770dbc6e939f6101236d5f40a25df8af38 (
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
|
# Maintainer: Valeri Ochinski <v19930312@gmail.com>
pkgname=evdevhook2-git
pkgver=1.0.0.r0.ga44b834
pkgrel=1
pkgdesc="Cemuhook UDP server for devices with modern Linux drivers"
arch=('x86_64')
url="https://github.com/v1993/evdevhook2"
license=('GPL3')
groups=()
depends=('glib2' 'zlib' 'libudev.so' 'libevdev.so' 'libgee-0.8.so')
optdepends=('upower: battery status reporting')
makedepends=('git' 'meson' 'vala')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('evdevhook2::git+https://github.com/v1993/evdevhook2.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
meson subprojects download --sourcedir="$srcdir/${pkgname%-git}"
}
build() {
arch-meson "$srcdir/${pkgname%-git}" build
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
}
|