Leo Unglaub d46a820194 xfce4-mpc-plugin: Update to 0.4.5
Signed-off-by: Leo Unglaub <leo@leo-unglaub.net>
2015-03-05 02:58:29 +00:00

38 lines
854 B
Plaintext

# Description: Simple client plugin for Music Player Daemon.
# URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-mpc-plugin
# Maintainer: CRUX Xfce Team, xfce-ports at crux dot nu
# Packager: Jose V Beneyto, sepen at crux dot nu
# Depends on: xfce4-panel
# Group: xfce4
name=xfce4-mpc-plugin
version=0.4.5
release=1
source=(http://archive.xfce.org/src/panel-plugins/$name/${version%.*}/$name-$version.tar.bz2)
build ()
{
# go into the source directory
cd $SRC/$name-$version
# configure the plugin
./configure \
--prefix=/usr \
--libexecdir=/usr/lib \
--disable-debug \
--disable-nls \
--disable-dependency-tracking \
# 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 {} \;
}