[arch-commits] Commit in apcupsd/trunk (PKGBUILD apcupsd.service)

Sergej Pupykin spupykin at nymeria.archlinux.org
Wed May 29 06:14:44 EDT 2013


    Date: Wednesday, May 29, 2013 @ 12:14:44
  Author: spupykin
Revision: 91911

upgpkg: apcupsd 3.14.10-5

upd

Modified:
  apcupsd/trunk/PKGBUILD
  apcupsd/trunk/apcupsd.service

-----------------+
 PKGBUILD        |   13 +++++--------
 apcupsd.service |    2 +-
 2 files changed, 6 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-29 10:07:22 UTC (rev 91910)
+++ PKGBUILD	2013-05-29 10:14:44 UTC (rev 91911)
@@ -5,7 +5,7 @@
 
 pkgname=apcupsd
 pkgver=3.14.10
-pkgrel=4
+pkgrel=5
 pkgdesc="Power mangement and controlling most of APC's UPS models"
 arch=(i686 x86_64)
 url="http://www.apcupsd.org"
@@ -21,16 +21,13 @@
         apcupsd.service
         apcupsd-tmpfiles.conf)
 sha256sums=('0707b5ec9916fbde9e44eb8d18037c8d8f75dfd6aeef51aba5487e189eef2032'
-            'cae38570847f5d90f38a0634e502f35d6c76a9c928b3a322e3fe1a097fbbc04a'
-            'fef0b088daa7d652b8c30e6105318cff547ad2504627efabd014083eabc7182d'
+            '145e88863335f077fc354b4d263b15f64af67b45a10ed37c68ebd468181e23f7'
             'b00cd1a31de70a172698d486583aa79113b99c1bb4b882ab906d0e37504d7f55')
-sha256sums=('0707b5ec9916fbde9e44eb8d18037c8d8f75dfd6aeef51aba5487e189eef2032'
-            'fef0b088daa7d652b8c30e6105318cff547ad2504627efabd014083eabc7182d'
-            '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] \
@@ -43,7 +40,7 @@
 	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"/sbin/*
+	chmod 755 "$pkgdir"/usr/bin/*
 	install -dm755 "$pkgdir/usr/lib/$pkgname/cgi-bin"
 	mv "$pkgdir"/etc/apcupsd/*.cgi "$pkgdir/usr/lib/$pkgname/cgi-bin"
-}
\ No newline at end of file
+}

Modified: apcupsd.service
===================================================================
--- apcupsd.service	2013-05-29 10:07:22 UTC (rev 91910)
+++ apcupsd.service	2013-05-29 10:14:44 UTC (rev 91911)
@@ -2,7 +2,7 @@
 Description=APC UPS Monitor
 
 [Service]
-ExecStart=/sbin/apcupsd -b
+ExecStart=/usr/bin/apcupsd -b
 
 [Install]
 WantedBy=multi-user.target



More information about the arch-commits mailing list