diff --git a/feedbackd/.SRCINFO b/feedbackd/.SRCINFO new file mode 100644 index 0000000..8f157fe --- /dev/null +++ b/feedbackd/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = feedbackd + pkgdesc = A daemon to provide haptic feedback on events + pkgver = 0.0.0+git20210426 + pkgrel = 1 + url = https://source.puri.sm/Librem5/feedbackd + arch = i686 + arch = x86_64 + arch = armv7h + arch = aarch64 + license = GPL3 + makedepends = gobject-introspection + makedepends = meson + makedepends = vala + depends = dconf + depends = gsound + depends = json-glib + depends = libgudev + source = https://source.puri.sm/Librem5/feedbackd/-/archive/v0.0.0+git20210426/feedbackd-v0.0.0+git20210426.tar.gz + sha256sums = 3e9ec7d521ff0dcbfff15708678650068ac744fad93e21959484226cd882916d + +pkgname = feedbackd + diff --git a/feedbackd/.gitignore b/feedbackd/.gitignore new file mode 100644 index 0000000..344e792 --- /dev/null +++ b/feedbackd/.gitignore @@ -0,0 +1,7 @@ +pkg/ +src/ +*.tar +*.tar.bz2 +*.tar.gz +*.tar.xz +*.tar.zstd diff --git a/feedbackd/.gitrepo b/feedbackd/.gitrepo new file mode 100644 index 0000000..edad7be --- /dev/null +++ b/feedbackd/.gitrepo @@ -0,0 +1,12 @@ +; DO NOT EDIT (unless you know what you are doing) +; +; This subdirectory is a git "subrepo", and this file is maintained by the +; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme +; +[subrepo] + remote = https://aur.archlinux.org/feedbackd.git + branch = master + commit = 58ad151f98c7c2c7a3b4c2fb5d51319ab1a98f6b + parent = 0c5ddfaba48193bd342f80bf5b935a760cdc1d6e + method = merge + cmdver = 0.4.3 diff --git a/feedbackd/PKGBUILD b/feedbackd/PKGBUILD new file mode 100644 index 0000000..6708f08 --- /dev/null +++ b/feedbackd/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Philip Goto +# Contributor: Sam Whited + +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 +}