diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3e8546e9aef1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: parchd +pkgname=batterylife +pkgver=1 +pkgrel=1 +pkgdesc="Help user keep battery between 40 and 80%" +url="https://bbs.archlinux.org/viewtopic.php?pid=1431917" +license=('GPL') +groups=() +depends=('pulseaudio' 'acpi' 'libnotify') +arch=('i686' 'x86_64') +source=('batterylife' + 'batterylife.timer' + 'batterylife.service') + +md5sums=('SKIP' 'SKIP' 'SKIP') + +package() { + install -Dm644 "$srcdir/$pkgname.service" "$pkgdir/etc/systemd/system/$pkgname.service" + install -Dm644 "$srcdir/$pkgname.timer" "$pkgdir/etc/systemd/system/$pkgname.timer" + install -Dm755 "$srcdir/$pkgname" "$pkgdir/usr/bin/$pkgname" +} |