summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5792d963251268871721e636b945b6271e2871fa (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
# Maintainer: Stefan Tatschner <stefan@rumpelsepp.org>

pkgname=poweralertd
pkgver=0.1.0
pkgrel=1
pkgdesc='UPower-powered power alerter '
url=https://git.sr.ht/~kennylevinsen/poweralertd
arch=(x86_64)
license=(GPL)
depends=(mako upower)
makedepends=(scdoc)
source=(
  "${pkgname}-${pkgver}::https://git.sr.ht/~kennylevinsen/poweralertd/archive/$pkgver.tar.gz"
)
sha256sums=('aa18af4df577f071722c0879f09690e4bcd8fc191cc187d8d6decf73f3a36085')

build () {
	cd "${pkgname}-${pkgver}"
	arch-meson build
	ninja -C build
}

package () {
	cd "${pkgname}-${pkgver}"
	DESTDIR="${pkgdir}" ninja -C build install
}