summaryrefslogtreecommitdiffstats
path: root/main/apcupsd/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-25 16:51:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-25 16:51:38 +0000
commit298cecdbcfbb22a09caf87bfb9b2e26a12f0af9e (patch)
tree75bef0afd1d957aefada49a73d0052b1d32ab1b9 /main/apcupsd/APKBUILD
parent9526ee659401dee7160f35cb62ded2779bcbbc99 (diff)
downloadaports-298cecdbcfbb22a09caf87bfb9b2e26a12f0af9e.tar.bz2
aports-298cecdbcfbb22a09caf87bfb9b2e26a12f0af9e.tar.xz
main/apcupsd: upgrade to 3.14.8
Diffstat (limited to 'main/apcupsd/APKBUILD')
-rw-r--r--main/apcupsd/APKBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/main/apcupsd/APKBUILD b/main/apcupsd/APKBUILD
index 9f442095..f48fb7ab 100644
--- a/main/apcupsd/APKBUILD
+++ b/main/apcupsd/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=apcupsd
-pkgver=3.14.7
-pkgrel=1
+pkgver=3.14.8
+pkgrel=0
pkgdesc="A Daemon to control APC UPSes"
subpackages="$pkgname-doc"
url="http://www.apcupsd.org"
@@ -23,10 +23,14 @@ build() {
--enable-usb \
--enable-snmp
make || return 1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR=$pkgdir install
install -D -m755 "$srcdir"/apcupsd.initd "$pkgdir"/etc/init.d/apcupsd
}
-md5sums="bb2f8e4fc6b2f5d7b3e236eb57b81640 apcupsd-3.14.7.tar.gz
+md5sums="cd17f0a903dc2220e55ed54e242359d2 apcupsd-3.14.8.tar.gz
0798cd407de6f199d4c267036ec54c5b apcupsd.initd
08d9cc703cdd4275d342882deed1d719 apcupsd-alpine.patch"