blob: 318f350ca3a301ee9186db7418a9840b5b3d701e (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Maintainer: Thomas Booker (CoderThomasB) <tw.booker@outlook.com>
# Contributor: <reg-archlinux AT klein DOT tuxli DOT ch>
# Contributor: Philip Goto <philip.goto@gmail.com>
# Contributor: Sam Whited <sam@samwhited.com>
pkgname=feedbackd
pkgver=0.0.3
pkgrel=1
pkgdesc='A daemon to provide haptic feedback on events'
arch=(x86_64 aarch64)
url='https://source.puri.sm/Librem5/feedbackd'
license=(GPL3)
depends=(
dconf
gsound
json-glib
libgudev
gsettings-desktop-schemas
)
makedepends=(
gobject-introspection
meson
vala
git
python-docutils
)
_tag=25913a6a
# _tag=fca952f813124110c9dabd766e85255992187c32
source=(
"git+${url}.git#tag=${_tag}"
)
sha256sums=(
'SKIP'
)
pkgver() {
cd "${pkgname}"
git describe --tags | sed 's/^v//'
}
prepare() {
cd "${pkgname}"
git submodule init
git submodule update
}
build() {
arch-meson "${pkgname}" build -Dgtk_doc=false -Dman=true -Dtests=true -Ddaemon=true
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
DESTDIR="${pkgdir}" meson install -C build
}
|