summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorStefan Tatschner2020-10-28 10:19:05 +0100
committerStefan Tatschner2020-10-28 10:19:05 +0100
commit39094ab33f3ddd7094709dea102663a9cfbf447e (patch)
tree3514e703919b4c2d359bc8725046b85aa330b225 /PKGBUILD
downloadaur-poweralertd.tar.gz
Initial upload: poweralertd 0.1.0-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5792d963251
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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
+}
+