diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-11-03 20:50:52 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-11-03 20:50:52 (GMT) |
commit | f929ba59943099fe60b634a7dfaf3fe42f1caec3 (patch) | |
tree | e62115f686ba4c83ae4e517101b50a8c63364aa8 /abs/extra/powerpanel | |
parent | 282e8209e1a55ebabfd744dc530f24557b4c04b8 (diff) | |
download | linhes_pkgbuild-f929ba59943099fe60b634a7dfaf3fe42f1caec3.zip linhes_pkgbuild-f929ba59943099fe60b634a7dfaf3fe42f1caec3.tar.gz linhes_pkgbuild-f929ba59943099fe60b634a7dfaf3fe42f1caec3.tar.bz2 |
powerpanel: update to 1.3.2
Diffstat (limited to 'abs/extra/powerpanel')
-rw-r--r-- | abs/extra/powerpanel/PKGBUILD | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/abs/extra/powerpanel/PKGBUILD b/abs/extra/powerpanel/PKGBUILD index 22edba7..b1377f1 100644 --- a/abs/extra/powerpanel/PKGBUILD +++ b/abs/extra/powerpanel/PKGBUILD @@ -1,30 +1,31 @@ -# Contributor: das-ich <das-ich@yandex.ru> +# Maintainer: Justin Settle <jus10 [at] partlycloudy.org> +# Contributor: Kyle Keen <keenerd [at] gmail.com>, das-ich <das-ich [at] yandex.ru> pkgname=powerpanel -pkgver=1.2.3 -pkgrel=6 -pkgdesc="PowerPanel for Linux software can be used with most CyberPower UPS products." +pkgver=1.3.2 +pkgrel=1 +pkgdesc="CyberPower UPS daemon" arch=("x86_64" "i686") url="http://www.cyberpowersystems.com" license=("custom:CyberPower") depends=('libusb') install=pwrstatd.install -source=(http://www.cyberpowersystems.com/software/powerpanel_123_x86_64.tar.gz pwrstatd.service) backup=(etc/powerpanel/pwrstatd-{powerfail,lowbatt,email}.sh - etc/pwrstatd.conf) + etc/pwrstatd.conf) -if [ "$CARCH" = "x86_64" ]; then - md5sums=('0226b17e9470b93cd1e4fd2f149c5d05' - 'b945ff7c15ef206022c8df29a96338c8') +if [[ $CARCH = 'x86_64' ]]; then + source=(http://www.cyberpowersystems.com/software/powerpanel-$pkgver-$CARCH.tar.gz pwrstatd.service) + md5sums=('d69233e117f92611931cb820bad141df' + 'b945ff7c15ef206022c8df29a96338c8') fi -if [ "$CARCH" = "i686" ]; then -source=(http://www.cyberpowersystems.com/software/powerpanel_123_i386.tar.gz) - md5sums=('79d1b60f5146b5286c786c93b90e6c87' - 'b945ff7c15ef206022c8df29a96338c8') +if [[ $CARCH = 'i686' ]]; then + source=(http://www.cyberpowersystems.com/software/powerpanel-$pkgver-i386.tar.gz pwrstatd.service) + md5sums=('833f35179a8b0ca303698de08f048c8b' + 'b945ff7c15ef206022c8df29a96338c8') fi package() { - cd ${srcdir}/$pkgname-$pkgver-0 + cd ${srcdir}/$pkgname-$pkgver # # copy files # @@ -63,7 +64,9 @@ install -Dm644 doc/pwrstatd.8 ${pkgdir}/usr/share/man/man8/pwrstatd.8 gzip -9 ${pkgdir}/usr/share/man/man8/pwrstat.8 gzip -9 ${pkgdir}/usr/share/man/man8/pwrstatd.8 -} +# Install License +install -D -m644 doc/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -md5sums=('0226b17e9470b93cd1e4fd2f149c5d05' +} +md5sums=('d69233e117f92611931cb820bad141df' 'b945ff7c15ef206022c8df29a96338c8') |