[arch-commits] Commit in acpid/trunk (PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Sun Apr 22 21:47:02 UTC 2018
Date: Sunday, April 22, 2018 @ 21:46:54
Author: foxboron
Revision: 317316
upgpkg: acpid 2.0.29-2
Fixed https sources and removed chmod fix
Modified:
acpid/trunk/PKGBUILD
----------+
PKGBUILD | 29 +++++++++++++----------------
1 file changed, 13 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-22 20:23:26 UTC (rev 317315)
+++ PKGBUILD 2018-04-22 21:46:54 UTC (rev 317316)
@@ -1,5 +1,6 @@
# $Id$
-# Maintainer: Sébastien Luttringer
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Sébastien Luttringer
# Contributor: xduugu
# Contributor: Manolis Tzanidakis
# Contributor: Jonathan Schmidt <j.schmidt at archlinux.us
@@ -6,23 +7,23 @@
pkgname=acpid
pkgver=2.0.29
-pkgrel=1
+pkgrel=2
pkgdesc='A daemon for delivering ACPI power management events with netlink support'
arch=('x86_64')
-url='http://sourceforge.net/projects/acpid2/'
+url='https://sourceforge.net/projects/acpid2/'
license=('GPL')
depends=('bash')
optdepends=('perl: use perl based examples')
replaces=('acpid2')
backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything')
-source=("http://downloads.sourceforge.net/sourceforge/acpid2/$pkgname-$pkgver.tar.xz"
+source=("https://downloads.sourceforge.net/sourceforge/acpid2/$pkgname-$pkgver.tar.xz"
'acpid.service'
'anything'
'handler.sh')
-md5sums=('6dd58a35cac51bd9503d769f5d13d74d'
- 'b9a9810eefae2142e20c965c01b410de'
- '2d37b98d6e74bab815604b8b48c6cfd4'
- '47f44ff5f02685dce8bcdab8568f0c38')
+sha256sums=('58503b27975c466e627eb741c5453dd662f97edef1a3d0aac822fd03a84203ff'
+ 'a8236bbf774f5e90a4daa369731d6d335c3374ddc62f1224fba02a3d6d678111'
+ 'eb5230affb9dba7653890655b94e83f377c689a39131b6b13c8202ba2382c275'
+ '1c1e39b7ecc57092ba9d747f452fb36d8ae0456e2e64849c9c4a2625d1d57413')
build() {
cd $pkgname-$pkgver
@@ -31,19 +32,15 @@
}
package() {
- pushd $pkgname-$pkgver
+ cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
- popd
# default config
- install -Dm644 anything "$pkgdir/etc/acpi/events/anything"
- install -Dm755 handler.sh "$pkgdir/etc/acpi/handler.sh"
+ install -Dm644 ../anything "$pkgdir/etc/acpi/events/anything"
+ install -Dm755 ../handler.sh "$pkgdir/etc/acpi/handler.sh"
# systemd
- install -Dm644 acpid.service "$pkgdir/usr/lib/systemd/system/acpid.service"
-
- # fix acpid rights
- chmod 755 "$pkgdir/usr/bin/acpid"
+ install -Dm644 ../acpid.service "$pkgdir/usr/lib/systemd/system/acpid.service"
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list