void-packages/srcpkgs/soulseekqt/template

33 lines
1.0 KiB
Bash
Raw Normal View History

2015-04-11 19:52:54 +02:00
# Template file for 'soulseekqt'
pkgname=soulseekqt
version=20141130
revision=1
_pkgver=2014-11-30
_url=http://www.soulseekqt.net/SoulseekQT/Linux
if [ "$XBPS_MACHINE" = "x86_64" ]; then
_pkgver=$_pkgver-64bit
_disttarball="${_url}/SoulseekQt-$_pkgver.tgz"
_distcksum=3f041b715397c6bcdb93887fa89174890b76886dfd12d7f37a8c4ea0805b5324
else
_pkgver=$_pkgver-32bit
_disttarball="${_url}/SoulseekQt-$_pkgver.tgz"
_distcksum=3bc3a6a21023bc06086b0b5a8e3e44dee712a4860b0b8a54ca3edadcdffd57d7
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
2015-04-11 19:52:54 +02:00
vinstall ${FILESDIR}/soulseekqt.desktop 644 usr/share/applications
vinstall ${FILESDIR}/soulseekqt.png 644 usr/share/pixmaps
}