Package Details: earlyoom-git 0-1

Git Clone URL: https://aur.archlinux.org/earlyoom-git.git (read-only)
Package Base: earlyoom-git
Description: The Early OOM Daemon
Upstream URL: https://github.com/rfjakob/earlyoom
Licenses: GPL
Submitter: swiftgeek
Maintainer: None
Last Packager: swiftgeek
Votes: 3
Popularity: 0.000141
First Submitted: 2014-07-09 01:15
Last Updated: 2015-06-09 23:45

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

reactormonk commented on 2016-01-13 18:02

Try with

package() {
cd "$srcdir/${_pkgname}/"
install -d "$pkgdir/usr/bin/"
install -d "$pkgdir/usr/lib/systemd/system/"
sed -i "s|/usr/local/bin|/usr/bin|g" ./earlyoom.service
install -m 644 ./earlyoom.service "${pkgdir}/usr/lib/systemd/system/earlyoom.service"
install -m 755 ./earlyoom "${pkgdir}/usr/bin/earlyoom"
}

Best commented on 2014-08-18 18:14

your systemd service file points to /usr/local/bin but you have put the earlyoom file in /usr/bin