Leo Unglaub 9eb58dba2e xfce4-panel: Cleanup the Pkgfile
I also removed "empty" delete statements that had
not effect what so ever.

Signed-off-by: Leo Unglaub <leo@leo-unglaub.net>
2015-03-10 02:31:07 +00:00

41 lines
874 B
Plaintext

# Description: Panel for XFce4
# URL: http://www.xfce.org
# Maintainer: CRUX Xfce Team, xfce-ports at crux dot nu
# Packager: Juergen Daubert, juergen dot daubert at t-online dot de
# Depends on: libxfce4ui exo libwnck garcon
# Group: xfce4
name=xfce4-panel
version=4.12.0
release=1
source=(http://archive.xfce.org/src/xfce/$name/${version%.*}/$name-$version.tar.bz2)
build ()
{
# go into the source directory
cd $SRC/$name-$version
# configure the panel
./configure \
--prefix=/usr \
--libexecdir=/usr/lib \
--disable-debug \
--disable-nls \
--disable-dependency-tracking \
--disable-gtk3 \
--disable-gtk-doc \
--disable-gtk-doc-html
# make the plugin
make
make DESTDIR=$PKG install
# cleanup
rm -rf $PKG/usr/share/{locale,gtk-doc}
find $PKG/usr/share/xfce4/panel/plugins -type f -name '*.desktop' \
-exec sed -r '/\[.+\]=/d' -i {} \;
}