milis/talimatname/genel/p/pm-utils/talimat

37 lines
1.1 KiB
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Askıya alma ve hazırda bekletme güç yönetimi için yardımcı programlar ve komut dosyaları
# URL: http://pm-utils.freedesktop.org
# Paketçi: milisarge
# Gerekler: pm-quirks
2018-07-31 14:04:28 +02:00
# Grup: sistem
2018-06-09 00:06:58 +02:00
isim=pm-utils
surum=1.4.1
devir=1
kaynak=(http://pm-utils.freedesktop.org/releases/pm-utils-${surum}.tar.gz
http://downloads.nutyx.org/files/patchs/$isim/02-logging-append.patch
http://downloads.nutyx.org/files/patchs/$isim/12-fix-intel-audio-powersave-hook.patch
http://downloads.nutyx.org/files/patchs/$isim/13-49bluetooth-sync.patch
http://downloads.nutyx.org/files/patchs/$isim/14-disable-sata-alpm.patch)
derle() {
cd $isim-$surum
patch -Np1 -i "${SRC}/02-logging-append.patch"
patch -Np1 -i "${SRC}/12-fix-intel-audio-powersave-hook.patch"
patch -Np1 -i "${SRC}/13-49bluetooth-sync.patch"
patch -Np1 -i "${SRC}/14-disable-sata-alpm.patch"
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var
make
make DESTDIR="$PKG" install
rm -f "${PKG}/usr/lib/pm-utils/sleep.d/55NetworkManager"
rm -f "${PKG}/usr/lib/pm-utils/power.d/"{harddrive,disable_wol}
rm -fr "${PKG}/usr/share/doc"
}