summaryrefslogtreecommitdiff
path: root/community/apcupsd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/apcupsd
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/apcupsd')
-rw-r--r--community/apcupsd/PKGBUILD46
-rw-r--r--community/apcupsd/apcupsd-tmpfiles.conf2
-rw-r--r--community/apcupsd/apcupsd.service8
3 files changed, 0 insertions, 56 deletions
diff --git a/community/apcupsd/PKGBUILD b/community/apcupsd/PKGBUILD
deleted file mode 100644
index 672f094ec..000000000
--- a/community/apcupsd/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# $Id: PKGBUILD 93771 2013-07-10 07:27:11Z bpiotrowski $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: Todd Musall <tmusall@comcast.net>
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
-
-pkgname=apcupsd
-pkgver=3.14.10
-pkgrel=7
-pkgdesc="Power mangement and controlling most of APC's UPS models"
-arch=(i686 x86_64)
-url="http://www.apcupsd.org"
-license=('GPL')
-depends=('gcc-libs')
-optdepends=('gd: for CGI'
- 'gconf: for frontend'
- 'gtk2: for frontend')
-makedepends=('pkgconfig' 'gd' 'gconf' 'gtk2' 'systemd-sysvcompat')
-backup=(etc/apcupsd/apcupsd.conf etc/apcupsd/hosts.conf
- etc/apcupsd/multimon.conf)
-source=(http://downloads.sourceforge.net/apcupsd/$pkgname-$pkgver.tar.gz
- apcupsd.service
- apcupsd-tmpfiles.conf)
-sha256sums=('0707b5ec9916fbde9e44eb8d18037c8d8f75dfd6aeef51aba5487e189eef2032'
- '145e88863335f077fc354b4d263b15f64af67b45a10ed37c68ebd468181e23f7'
- 'b00cd1a31de70a172698d486583aa79113b99c1bb4b882ab906d0e37504d7f55')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname \
- --sbindir=/usr/bin \
- --enable-cgi --enable-usb --enable-net \
- --with-upstype=usb --with-upscable=usb \
- --with-serial-dev=/dev/usb/hid/hiddev[0-9] \
- --enable-pthreads --enable-gapcmon
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- install -Dm644 "$srcdir/apcupsd.service" "$pkgdir/usr/lib/systemd/system/apcupsd.service"
- install -Dm644 "$srcdir/apcupsd-tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/apcupsd.conf"
- chmod 755 "$pkgdir"/usr/bin/*
- install -dm755 "$pkgdir/usr/lib/$pkgname/cgi-bin"
- mv "$pkgdir"/etc/apcupsd/*.cgi "$pkgdir/usr/lib/$pkgname/cgi-bin"
-}
diff --git a/community/apcupsd/apcupsd-tmpfiles.conf b/community/apcupsd/apcupsd-tmpfiles.conf
deleted file mode 100644
index 0ceb4106b..000000000
--- a/community/apcupsd/apcupsd-tmpfiles.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-r /etc/apcupsd/powerfail
-r /etc/nologin \ No newline at end of file
diff --git a/community/apcupsd/apcupsd.service b/community/apcupsd/apcupsd.service
deleted file mode 100644
index b8dfb9b4a..000000000
--- a/community/apcupsd/apcupsd.service
+++ /dev/null
@@ -1,8 +0,0 @@
-[Unit]
-Description=APC UPS Monitor
-
-[Service]
-ExecStart=/usr/bin/apcupsd -b
-
-[Install]
-WantedBy=multi-user.target