xfce4-mpc-plugin: Update to 0.4.5

Signed-off-by: Leo Unglaub <leo@leo-unglaub.net>
This commit is contained in:
Leo Unglaub 2015-03-05 02:58:29 +00:00
parent 407d2b1096
commit d46a820194
2 changed files with 23 additions and 12 deletions

View File

@ -1 +1 @@
1c126ca71d6db1ac6a0cc6720554e7bd xfce4-mpc-plugin-0.4.4.tar.bz2
718e64748e46908a44cd0b96eacbda28 xfce4-mpc-plugin-0.4.5.tar.bz2

View File

@ -6,21 +6,32 @@
# Group: xfce4
name=xfce4-mpc-plugin
version=0.4.4
version=0.4.5
release=1
source=(http://archive.xfce.org/src/panel-plugins/$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 plugin
./configure \
--prefix=/usr \
--libexecdir=/usr/lib \
--disable-debug \
--disable-nls \
--disable-dependency-tracking \
rm -rf $PKG/usr/share/locale
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 time
rm -rf $PKG/usr/share/locale
find $PKG/usr/share/xfce4/panel/plugins -type f -name '*.desktop' \
-exec sed -r '/\[.+\]=/d' -i {} \;
}