# Maintainer: Luis Henrique <lmello.009@gmail.com>

# Mandatory
pkgname=xfce4-mpc-plugin
pkgver=0.3.5
pkgrel=1lm
source=("http://archive.xfce.org/src/panel-plugins/xfce4-mpc-plugin/0.3/xfce4-mpc-plugin-0.3.5.tar.bz2")
# Optional
docs=("AUTHORS" "COPYING" "ChangeLog" "INSTALL" "NEWS" "README" "TODO")
url="http://goodies.xfce.org"
 
slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"xfce4-mpc-plugin (MPD Client plugin for the Xfce panel)"
"This is a simple client plugin for Music Player Daemon."
)

build() {
        cd $startdir/src/$pkgname-$pkgver
        ./configure \
          --prefix=/usr \
          --libdir=/usr/lib${LIBDIRSUFFIX} \
          --sysconfdir=/etc \
          --localstatedir=/var \
          --mandir=/usr/man \
          --docdir=/usr/doc/$pkgname-$pkgver \
          --build=$arch-slackware-linux
        make || return 1
        make DESTDIR=$startdir/pkg install
}