summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e320228c32bd8bdb4c2885faabf0774a228e0fb7 (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
# vim:ts=2:sw=2:expandtab
# Maintainer: peelz <peelz.dev+arch@gmail.com>

_commit="fa10c5a9442a3012410ca4fd36dce0b48a80aca6"
pkgname="sd-inhibit-bridge"
pkgver="0.1.1"
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}"
}