diff options
author | peelz | 2024-03-13 00:42:41 -0400 |
---|---|---|
committer | peelz | 2024-03-13 00:42:41 -0400 |
commit | 27d47a07846f46bdd5d7dd40068bd83015b33b20 (patch) | |
tree | e87ad83ec354738ac2b4775a0d81a3ac418af988 /PKGBUILD | |
download | aur-27d47a07846f46bdd5d7dd40068bd83015b33b20.tar.gz |
init
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d4854f34b2c0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# vim:ts=2:sw=2:expandtab +# Maintainer: peelz <peelz.dev+arch@gmail.com> + +_commit="e7db47c510fb66243d63c677ed7010f5d0e20744" +pkgname="sd-inhibit-bridge" +pkgver="0.1.0" +pkgrel="1" +pkgdesc="A daemon implementing the Idle Inhibition D-Bus API that forwards inhibitor locks to systemd-logind" +url="https://github.com/notpeelz/sd-inhibit-bridge" +arch=("x86_64") +license=("GPL-3.0-or-later") +depends=( + "systemd" +) +makedepends=( + "git" + "meson" +) +source=( + "${pkgname}::git+https://github.com/notpeelz/sd-inhibit-bridge.git#commit=${_commit}" +) +sha256sums=( + "SKIP" +) + +build() { + cd "${srcdir}/${pkgname}" + arch-meson build \ + -Dsystemd-user-service=enabled +} + +package() { + cd "${srcdir}/${pkgname}" + meson install -C build --destdir "${pkgdir}" +} |