archpkgs/feedbackd/PKGBUILD

37 lines
765 B
Bash
Raw Normal View History

# Maintainer: Philip Goto <philip.goto@gmail.com>
# Contributor: Sam Whited <sam@samwhited.com>
pkgname=feedbackd
pkgver=0.0.0+git20210426
pkgrel=1
pkgdesc="A daemon to provide haptic feedback on events"
url="https://source.puri.sm/Librem5/feedbackd"
license=(GPL3)
arch=(i686 x86_64 armv7h aarch64)
depends=(
dconf
gsound
json-glib
libgudev
)
makedepends=(
gobject-introspection
meson
vala
)
source=("${url}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
sha256sums=('3e9ec7d521ff0dcbfff15708678650068ac744fad93e21959484226cd882916d')
build() {
arch-meson "${pkgname}-v${pkgver}" build -Dgtk_doc=true -Dman=true
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
DESTDIR="${pkgdir}" meson install -C build
}