summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMark Blakeney2023-12-23 09:03:33 +1000
committerMark Blakeney2023-12-23 09:03:33 +1000
commit39fa0e647024f5e84642cb38179eb07dfd9ac5b4 (patch)
treecadddda854dec586f666c43618497ac22efff4ff /PKGBUILD
parent255f5eb14ef91e029212ad24ce393d5ea2c1a50f (diff)
downloadaur-39fa0e647024f5e84642cb38179eb07dfd9ac5b4.tar.gz
Update to 1.23
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9a7ce407c605..80b047f842e1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: mark.blakeney at bullet-systems dot net
pkgname=sleep-inhibitor
_pkgname="${pkgname/-/_}"
-pkgver=1.22
+pkgver=1.23
pkgrel=1
pkgdesc="Program to run plugins to inhibit system sleep/suspend"
url="https://github.com/bulletmark/$pkgname"
@@ -12,7 +12,7 @@ depends=("python>=3.7" "python-ruamel-yaml")
makedepends=(python-setuptools python-build python-installer
python-wheel python-setuptools-scm)
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha1sums=('2b63fba47cfba3f0e2bfc5751c9813ee67bb895c')
+sha1sums=('2efa5e55051e793ba575fdd14a5ecca7c5c243b0')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -27,6 +27,7 @@ package() {
local pdir=$(python -c "import site; print(site.getsitepackages()[0])")
install -m 644 -t "$pkgdir/$pdir/$_pkgname/" "$_pkgname/${pkgname}.conf"
install -m 644 -t "$pkgdir/$pdir/$_pkgname/" "$_pkgname/${pkgname}.service"
+ install -Dm 644 -t "$pkgdir/usr/lib/systemd/system/" "$_pkgname/${pkgname}.service"
}
# vim:set ts=2 sw=2 et: