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>
This commit is contained in:
parent
1be05d6609
commit
9eb58dba2e
@ -10,17 +10,31 @@ version=4.12.0
|
||||
release=1
|
||||
source=(http://archive.xfce.org/src/xfce/$name/${version%.*}/$name-$version.tar.bz2)
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
build ()
|
||||
{
|
||||
# go into the source directory
|
||||
cd $SRC/$name-$version
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--libexecdir=/usr/lib \
|
||||
--disable-debug
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
# 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
|
||||
|
||||
rm -rf $PKG/usr/share/{locale,doc,gtk-doc}
|
||||
find $PKG/usr/share/xfce4/panel/plugins -type f -name '*.desktop' \
|
||||
-exec sed -r '/\[.+\]=/d' -i {} \;
|
||||
|
||||
# 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 {} \;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user