28 lines
766 B
Plaintext
Raw Normal View History

2008-02-08 02:18:28 +01:00
# Description: Battery plugin for the Xfce 4 panel
# URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-battery-plugin
2009-10-06 18:32:15 +00:00
# Maintainer: Jose V Beneyto, sepen at crux dot nu
2008-02-08 02:18:28 +01:00
# Packager: Alwin Egger, alwin dot egger at tegonal dot com
# Depends on: xfce4-panel
# Group: xfce4
name=xfce4-battery-plugin
2012-05-14 11:21:50 +02:00
version=1.0.4
2012-04-19 11:02:03 +02:00
release=1
source=(http://archive.xfce.org/src/panel-plugins/$name/${version%.*}/$name-$version.tar.bz2)
2008-02-08 02:18:28 +01:00
build () {
cd $name-$version
2012-05-13 22:39:08 +02:00
2008-02-08 02:18:28 +01:00
./configure --prefix=/usr \
--libexecdir=/usr/lib \
--disable-static \
--disable-debug
2012-05-13 22:39:08 +02:00
2008-02-08 02:18:28 +01:00
make
make DESTDIR=$PKG install
2012-05-13 22:39:08 +02:00
2008-02-08 02:18:28 +01:00
rm -rf $PKG/usr/share/locale
2012-04-19 11:02:03 +02:00
find $PKG/usr/share/xfce4/panel/plugins -type f -name '*.desktop' \
-exec sed -r '/\[.+\]=/d' -i {} \;
2008-02-08 02:18:28 +01:00
}