xfce4-power-manager

This commit is contained in:
milisbir 2018-01-10 18:43:11 +02:00
parent ed2366e7d3
commit 64bd760029
2 changed files with 23 additions and 6 deletions

View File

@ -2,17 +2,21 @@
# URL: http://goodies.xfce.org/projects/applications/xfce4-power-manager
# Paketçi: milisarge
# Gerekler: dbus-glib xorg-app libnotify xfce4-panel upower udisks
# Grup: xfce4
isim=xfce4-power-manager
source /root/talimatname/genel/x/xfce4/surumler
surum="${xfce4_power_manager_surum}";[ -z ${xfce4_power_manager_surum} ] && \
surum=1.4.4
devir=2
kaynak=(http://archive.xfce.org/src/xfce/$isim/${surum%.*}/$isim-$surum.tar.bz2)
derle() {
cd $isim-$surum
./configure \
--prefix=/usr \
--sysconfdir=/etc
make
make DESTDIR=$PKG install
cd $isim-$surum
./configure \
--prefix=/usr \
--sysconfdir=/etc
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/man
}

View File

@ -0,0 +1,13 @@
#!/bin/sh
_paket=xfce4-power-manager
for _kurtar in \
'/usr/share/xfce4/panel/plugins' \
'/usr/share/xfce4/panel' \
'/usr/share/xfce4/panel' \
'/usr/lib/xfce4/panel'; \
do
# -sz ve -g den sonra /tmp/$paket.sil dikkate alınır
sed -i '\|'\'$_kurtar\''|d' /tmp/$_paket.sil
done