# Template file for 'soulseekqt'
pkgname=soulseekqt
version=20150625
revision=1
_pkgver=2015-6-25
_url=http://www.soulseekqt.net/SoulseekQT/Linux
if [ "$XBPS_MACHINE" = "x86_64" ]; then
	_pkgver=$_pkgver-64bit
	_disttarball="${_url}/SoulseekQt-$_pkgver.tgz"
	_distcksum=a098d9bfdf68b6f944ef83716e3c94e7abc20738cede7af5c9d78aa23a62207e
else
	_pkgver=$_pkgver-32bit
	_disttarball="${_url}/SoulseekQt-$_pkgver.tgz"
	_distcksum=c2d19e8511ebba298bf44243fb0e467717b4e06ecfcbc7237ae1157586f73979
fi
distfiles="${_disttarball}"
checksum="${_distcksum}"
short_desc="A desktop client for the Soulseek peer-to-peer file sharing network"
maintainer="Boris Jarbowski <jarbowski@gmail.com>"
homepage="http://www.soulseekqt.net/news/"
license="Soulseek License (non free)"
repository="nonfree"
depends="libXext fontconfig libXrender libSM alsa-lib"

create_wrksrc=yes
only_for_archs="i686 x86_64"

do_install() {
	vbin SoulseekQt-$_pkgver $pkgname
	vinstall ${FILESDIR}/soulseekqt.desktop 644 usr/share/applications
	vinstall ${FILESDIR}/soulseekqt.png 644 usr/share/pixmaps
}
