Browse Source

powerpanel: upgrade to 1.3.3

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
master
Steven Noonan 1 year ago
parent
commit
8b4045cd96
Signed by: steven GPG Key ID: 408EEB508ED0CD4D
  1. 31
      powerpanel/PKGBUILD
  2. 2
      powerpanel/hibernate.sh
  3. 2
      powerpanel/shutdown.sh

31
powerpanel/PKGBUILD

@ -1,25 +1,26 @@
# Maintainer: Steven Noonan <steven@uplinklabs.net>
pkgname=powerpanel
pkgver=1.3.2
pkgrel=2
pkgver=1.3.3
pkgrel=1
pkgdesc="CyberPower UPS daemon"
arch=("x86_64" "i686")
arch=('x86_64' 'i686')
url="http://www.cyberpowersystems.com"
license=("custom:CyberPower")
depends=('libusb')
backup=(
etc/powerpanel/pwrstatd-{powerfail,lowbatt,email}.sh
etc/pwrstatd.conf
)
source=(pwrstatd.service)
source_x86_64=(http://www.cyberpowersystems.com/software/powerpanel-$pkgver-$CARCH.tar.gz)
source_i686=(http://www.cyberpowersystems.com/software/powerpanel-$pkgver-i386.tar.gz)
sha256sums=('2bcf5ba2c5d8c9ab886b6a5aba06f0da1630fabb440621860b2da221fcf9eb34')
sha256sums_x86_64=('265099590e82303fa1082a84dda02488d41762ca5b94f2bb7fd395c9b4ac1c36')
sha256sums_i686=('a0931fe71b7def7b72a1a80b9fc9a6419032eb98f78ad9da2971c904f88dc8f3')
backup=(etc/powerpanel/pwrstatd-{powerfail,lowbatt,email}.sh
etc/powerpanel/{hibernate,shutdown}.sh
etc/pwrstatd.conf)
source=('pwrstatd.service'
'hibernate.sh'
'shutdown.sh')
source_x86_64=("https://dl4jz3rbrsfum.cloudfront.net/software/PPL-${pkgver}-64bit.tar.gz")
source_i686=("https://dl4jz3rbrsfum.cloudfront.net/software/PPL-${pkgver}-32bit.tar.gz")
sha256sums=('2bcf5ba2c5d8c9ab886b6a5aba06f0da1630fabb440621860b2da221fcf9eb34'
'c710ea7765a24fb469adf601f44c8d3857634336bdfc263434ce86c3d67a4a80'
'10badc96b0ac990959ddc53d1d1cbba6b904e648b54d0eea085194e48d6a0998')
sha256sums_x86_64=('ddaa0e3b15f294b97bc152a992a22853dc9fc0f814ca88ae29dd904b8b0a5947')
sha256sums_i686=('5c6d86a407ea9988ff7965bd1bfc5d9662e79b668df3dc5f8742ebedda774435')
package() {
cd ${srcdir}/$pkgname-$pkgver

2
powerpanel/hibernate.sh

@ -0,0 +1,2 @@
#!/bin/sh
systemctl hibernate

2
powerpanel/shutdown.sh

@ -0,0 +1,2 @@
#!/bin/sh
systemctl poweroff
Loading…
Cancel
Save