summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 73424c58bb87a953ea97c025919c926b83c9d59a (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
# Maintainer: Hugo Osvaldo Barrera <hugo@barrera.io>

pkgname=systemd-lock-handler
pkgver=2.2.0
pkgrel=1
pkgdesc="Logind lock event to systemd target translation."
arch=('any')
url="https://git.sr.ht/~whynothugo/systemd-lock-handler"
license=('ISC')
makedepends=('go' 'git')
source=("git+https://git.sr.ht/~whynothugo/systemd-lock-handler?signed#tag=v${pkgver}")
md5sums=('SKIP')
validpgpkeys=('13FF264E91839686966CA2AC388ADF1E2EEA7F1A')

build() {
  cd "$srcdir/$pkgname"

  make build
}

package() {
  cd "$srcdir/$pkgname"

  make DESTDIR="$pkgdir/" install
}