Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=22285d3b8737316e2921357cb13b41b31bc5f695
commit 22285d3b8737316e2921357cb13b41b31bc5f695 Author: James Buren <[email protected]> Date: Mon Jun 4 06:51:15 2012 -0500 acpid-2.0.16-2-x86_64 * convert to use systemd schema diff --git a/source/base/acpid/FrugalBuild b/source/base/acpid/FrugalBuild index 26af68b..e78379a 100644 --- a/source/base/acpid/FrugalBuild +++ b/source/base/acpid/FrugalBuild @@ -4,10 +4,9 @@ pkgname=acpid pkgver=2.0.16 -pkgrel=1 +pkgrel=2 pkgdesc="Utilities for using ACPI power management" depends=('glibc>=2.8-3') -rodepends=('systemd') backup=(etc/acpi/acpi_handler.sh) groups=('base') archs=('i686' 'x86_64' 'arm') @@ -17,6 +16,8 @@ up2date="Flasttar $url" source=(http://tedfelix.com/linux/acpid-$pkgver.tar.xz \ acpi_handler.sh default \ acpid.service acpid.sysconfig) +_F_systemd_units=(acpid=e) +Finclude systemd sha1sums=('e795a5db1ba663417f91923154d0526212d37269' \ 'f232c48dbd9200e4ac79e2edc6ab5929835f42e0' \ 'afac4fc82e6ca65d4a156f39016ee8d15c6eeabc' \ @@ -30,6 +31,7 @@ build() Fexe /etc/acpi/events/default Ffile /lib/systemd/system/acpid.service Ffile acpid.sysconfig /etc/sysconfig/acpid + Fgenscriptlet } # optimization OK diff --git a/source/base/acpid/acpid.install b/source/base/acpid/acpid.install deleted file mode 100644 index aff443e..0000000 --- a/source/base/acpid/acpid.install +++ /dev/null @@ -1,26 +0,0 @@ -post_install() -{ - systemctl enable acpid.service >/dev/null 2>&1 -} - -post_upgrade() -{ - systemctl daemon-reload >/dev/null 2>&1 - # this can be removed after Frugalware-1.6 - rm -f /etc/rc.d/rc?.d/???rc.acpid -} - -pre_remove() -{ - systemctl --no-reload disable acpid.service >/dev/null 2>&1 - systemctl stop acpid.service >/dev/null 2>&1 -} - -post_remove() -{ - systemctl daemon-reload >/dev/null 2>&1 -} - -op=$1 -shift -$op $* _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
