summaryrefslogtreecommitdiff
path: root/community/apcupsd
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-24 23:18:01 +0000
committerroot <root@rshg047.dnsready.net>2011-07-24 23:18:01 +0000
commit43983783a3e8bf61896eb93a2858a14bbaf3a53b (patch)
treec3085b8900db730e945868819ed112708a661653 /community/apcupsd
parent0e8166d926f929f470d01d5bc8c8823e094742da (diff)
Sun Jul 24 23:18:00 UTC 2011
Diffstat (limited to 'community/apcupsd')
-rw-r--r--community/apcupsd/PKGBUILD19
1 files changed, 9 insertions, 10 deletions
diff --git a/community/apcupsd/PKGBUILD b/community/apcupsd/PKGBUILD
index e06fea694..9ef6c7ff5 100644
--- a/community/apcupsd/PKGBUILD
+++ b/community/apcupsd/PKGBUILD
@@ -1,23 +1,24 @@
-# $Id: PKGBUILD 29263 2010-10-12 10:10:35Z spupykin $
+# $Id: PKGBUILD 52280 2011-07-23 09:29:14Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Todd Musall <tmusall@comcast.net>
pkgname=apcupsd
-pkgver=3.14.8
-pkgrel=2
+pkgver=3.14.9
+pkgrel=1
pkgdesc="Apcupsd can be used for power mangement and controlling most of APC's UPS models on Unix and Windows machines."
arch=(i686 x86_64)
url="http://www.apcupsd.org"
license=('GPL')
depends=('gcc-libs')
optdepends=('gd: for CGI'
- 'gconf: for frontend')
-makedepends=('pkgconfig')
-backup=(etc/apcupsd/apcupsd.conf etc/apcupsd/hosts.conf \
+ 'gconf: for frontend'
+ 'gtk2: for frontend')
+makedepends=('pkgconfig' 'gd' 'gconf' 'gtk2')
+backup=(etc/apcupsd/apcupsd.conf etc/apcupsd/hosts.conf
etc/apcupsd/multimon.conf)
-source=(http://downloads.sourceforge.net/apcupsd/$pkgname-$pkgver.tar.gz \
+source=(http://downloads.sourceforge.net/apcupsd/$pkgname-$pkgver.tar.gz
apcupsd)
-md5sums=('cd17f0a903dc2220e55ed54e242359d2'
+md5sums=('aa5e2c2954a81c2f07e0a356e38fe853'
'5eae3c4d921eeb81798a0250fe3dd111')
build() {
@@ -27,10 +28,8 @@ build() {
--with-upstype=usb --with-upscable=usb \
--with-serial-dev=/dev/usb/hid/hiddev[0-9] \
--enable-pthreads --enable-gapcmon
-
make
make DESTDIR=$pkgdir install
-
install -D -m755 ../apcupsd $pkgdir/etc/rc.d/apcupsd
chmod 755 $pkgdir/sbin/*
mkdir -p $pkgdir/usr/lib/$pkgname/cgi-bin