##Packager: Richard Lapointe <richard@laprjns.com>
#Former Packager(s): Name <email@address.com>
#Anything commented out is optional and can be deleted.

pkgname=guayadeque
pkgver=0.2.7
pkgrel=1rl
#arch=noarch
source=(http://downloads.sourceforge.net/project/guayadeque/guayadeque/$pkgver/$pkgname-$pkgver.tar.gz)
sourcetemplate=http://people.salixos.org/laprjns/$pkgname/$pkgver/
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://sourceforge.net/projects/guayadeque/
#dotnew=()
#CFLAGS=
#CXXFLAGS=
#options=('noextract')

#doinst() {
#
#}

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"guayedeque - a music playser"
"Music Player with the aims to be intuitive, easy to use and fast even"
"for huge music collections. Developed for Linux with wxWidgets for GTK"
"under Gnome"
)



build() {
	cd $startdir/src/$pkgname-$pkgver
	./build
#	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux
	make || return 1
	make install DESTDIR=$startdir/pkg
# lets deal with the icons
	mkdir -p $startdir/pkg/usr/share/icons/hicolor/64x64/apps/
	cp -rf $startdir/pkg/usr/share/pixmaps/$pkgname.png $startdir/pkg/usr/share/icons/hicolor/64x64/apps/
	rm $startdir/pkg/usr/share/pixmaps/$pkgname.png
}