Package Details: pm-utils 1.4.1-7

Git Clone URL: https://aur.archlinux.org/pm-utils.git (read-only)
Package Base: pm-utils
Description: Utilities and scripts for suspend and hibernate power management
Upstream URL: http://pm-utils.freedesktop.org
Licenses: GPL
Conflicts: pm-quirks
Replaces: pm-quirks
Submitter: Megver83
Maintainer: Megver83
Last Packager: Megver83
Votes: 13
Popularity: 1.659752
First Submitted: 2017-03-20 17:33
Last Updated: 2017-03-22 15:56

Latest Comments

glitsj16 commented on 2017-03-23 13:05

@Megver83
Looking great now, thanks for looking into this. No need to apologise, it was only on my older laptop relying on samsung-tools (which depends on this) that I noticed the breakage :)

Megver83 commented on 2017-03-21 13:29

Package replaced with Manjaro's build
https://github.com/udeved/packages-testing/tree/master/pm-utils

Megver83 commented on 2017-03-20 22:37

Ok glitsj16, I replaced the PKGBUILD with yours
I originally took this package from Chakra linux, but the PKGBUILD didn't have package() array, so I just replaced build() with package ()
Sorry if it looked stupid, I haven't tested this package, but I wanted to bring it here since pm-utils is a dependency of dektop-privileges

glitsj16 commented on 2017-03-20 22:04

Hi, thanks for reviving this package. While it was dropped from AUR I used the debian version (https://aur.archlinux.org/packages/pm-utils-debian/), which works fine.

Your PKGBUILD forgets to add the '--sbindir=/usr/bin' to configure, hence it installs the pm-* binaries under /usr/sbin, breaking the symlink to /usr/bin upon which Arch relies. This broke openvpn systemd service files for me. Might break a lot more, so would you please rectify? There's a few other things that could be improved in your PKGBUILD besides this. Check https://gist.github.com/glitsj16/3c2ac66288a08c8178249cb3e7edb874 for an example.