From 64bd76002926707b7f2ab053785fc0a80a2f9f09 Mon Sep 17 00:00:00 2001 From: milisbir Date: Wed, 10 Jan 2018 18:43:11 +0200 Subject: [PATCH] xfce4-power-manager --- talimatname/genel/x/xfce4-power-manager/talimat | 16 ++++++++++------ .../xfce4-power-manager.kos-sil | 13 +++++++++++++ 2 files changed, 23 insertions(+), 6 deletions(-) create mode 100644 talimatname/genel/x/xfce4-power-manager/xfce4-power-manager.kos-sil diff --git a/talimatname/genel/x/xfce4-power-manager/talimat b/talimatname/genel/x/xfce4-power-manager/talimat index 2dd4349d5..c4d05b27d 100644 --- a/talimatname/genel/x/xfce4-power-manager/talimat +++ b/talimatname/genel/x/xfce4-power-manager/talimat @@ -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 } diff --git a/talimatname/genel/x/xfce4-power-manager/xfce4-power-manager.kos-sil b/talimatname/genel/x/xfce4-power-manager/xfce4-power-manager.kos-sil new file mode 100644 index 000000000..334ace824 --- /dev/null +++ b/talimatname/genel/x/xfce4-power-manager/xfce4-power-manager.kos-sil @@ -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