xfce4-power-manager: Cleanup the Pkgfile
I disabled the lxde support and also moved the man pages into the right location. Signed-off-by: Leo Unglaub <leo@leo-unglaub.net>
This commit is contained in:
parent
7da39ebd0f
commit
7998120edf
@ -12,6 +12,10 @@ drwxr-xr-x root/root usr/lib/xfce4/panel/
|
|||||||
drwxr-xr-x root/root usr/lib/xfce4/panel/plugins/
|
drwxr-xr-x root/root usr/lib/xfce4/panel/plugins/
|
||||||
-rwxr-xr-x root/root usr/lib/xfce4/panel/plugins/libxfce4powermanager.la
|
-rwxr-xr-x root/root usr/lib/xfce4/panel/plugins/libxfce4powermanager.la
|
||||||
-rwxr-xr-x root/root usr/lib/xfce4/panel/plugins/libxfce4powermanager.so
|
-rwxr-xr-x root/root usr/lib/xfce4/panel/plugins/libxfce4powermanager.so
|
||||||
|
drwxr-xr-x root/root usr/man/
|
||||||
|
drwxr-xr-x root/root usr/man/man1/
|
||||||
|
-rw-r--r-- root/root usr/man/man1/xfce4-power-manager-settings.1.gz
|
||||||
|
-rw-r--r-- root/root usr/man/man1/xfce4-power-manager.1.gz
|
||||||
drwxr-xr-x root/root usr/sbin/
|
drwxr-xr-x root/root usr/sbin/
|
||||||
-rwxr-xr-x root/root usr/sbin/xfce4-pm-helper
|
-rwxr-xr-x root/root usr/sbin/xfce4-pm-helper
|
||||||
-rwxr-xr-x root/root usr/sbin/xfpm-power-backlight-helper
|
-rwxr-xr-x root/root usr/sbin/xfpm-power-backlight-helper
|
||||||
@ -171,10 +175,6 @@ drwxr-xr-x root/root usr/share/icons/hicolor/scalable/status/
|
|||||||
-rw-r--r-- root/root usr/share/icons/hicolor/scalable/status/xfpm-ups-060.svg
|
-rw-r--r-- root/root usr/share/icons/hicolor/scalable/status/xfpm-ups-060.svg
|
||||||
-rw-r--r-- root/root usr/share/icons/hicolor/scalable/status/xfpm-ups-080.svg
|
-rw-r--r-- root/root usr/share/icons/hicolor/scalable/status/xfpm-ups-080.svg
|
||||||
-rw-r--r-- root/root usr/share/icons/hicolor/scalable/status/xfpm-ups-100.svg
|
-rw-r--r-- root/root usr/share/icons/hicolor/scalable/status/xfpm-ups-100.svg
|
||||||
drwxr-xr-x root/root usr/share/man/
|
|
||||||
drwxr-xr-x root/root usr/share/man/man1/
|
|
||||||
-rw-r--r-- root/root usr/share/man/man1/xfce4-power-manager-settings.1.gz
|
|
||||||
-rw-r--r-- root/root usr/share/man/man1/xfce4-power-manager.1.gz
|
|
||||||
drwxr-xr-x root/root usr/share/polkit-1/
|
drwxr-xr-x root/root usr/share/polkit-1/
|
||||||
drwxr-xr-x root/root usr/share/polkit-1/actions/
|
drwxr-xr-x root/root usr/share/polkit-1/actions/
|
||||||
-rw-r--r-- root/root usr/share/polkit-1/actions/org.xfce.power.policy
|
-rw-r--r-- root/root usr/share/polkit-1/actions/org.xfce.power.policy
|
||||||
|
@ -10,16 +10,30 @@ version=1.4.3
|
|||||||
release=1
|
release=1
|
||||||
source=(http://archive.xfce.org/src/xfce/$name/${version%.*}/$name-$version.tar.bz2)
|
source=(http://archive.xfce.org/src/xfce/$name/${version%.*}/$name-$version.tar.bz2)
|
||||||
|
|
||||||
build () {
|
build ()
|
||||||
cd $name-$version
|
{
|
||||||
|
# go into the source directory
|
||||||
|
cd $SRC/$name-$version
|
||||||
|
|
||||||
./configure --prefix=/usr \
|
|
||||||
--disable-debug
|
|
||||||
|
|
||||||
make
|
# configure the power manager
|
||||||
make DESTDIR=$PKG install
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--mandir=/usr/man \
|
||||||
|
--disable-debug \
|
||||||
|
--disable-dependency-tracking \
|
||||||
|
--disable-nls \
|
||||||
|
--disable-lxdepanel \
|
||||||
|
--disable-network-manager
|
||||||
|
|
||||||
rm -rf $PKG/usr/share/{locale,doc}
|
|
||||||
find $PKG/usr -type f -name '*.desktop' \
|
# make the power manager
|
||||||
-exec sed -r '/\[.+\]=/d' -i {} \;
|
make
|
||||||
|
make DESTDIR=$PKG install
|
||||||
|
|
||||||
|
|
||||||
|
# cleanup time
|
||||||
|
rm -rf $PKG/usr/share/{locale,doc}
|
||||||
|
find $PKG/usr -type f -name '*.desktop' \
|
||||||
|
-exec sed -r '/\[.+\]=/d' -i {} \;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user