void-packages/srcpkgs/soulseekqt/template

30 lines
971 B
Bash

# Template file for 'soulseekqt'
pkgname=soulseekqt
version=20160117
revision=1
_pkgver=2016-1-17
if [ "$XBPS_MACHINE" = "x86_64" ]; then
_pkgver=$_pkgver-64bit
_distcksum=8c11af264ffdd045de1093090533fc7b86e8814442a14d366c1df1dd6ed58316
else
_pkgver=$_pkgver-32bit
_distcksum=39daec020c766350159f63dc025f55a840891dcb805977e8e0eb4daa9d853965
fi
distfiles="https://dl.dropboxusercontent.com/u/7226803/SoulseekQt-$_pkgver.tgz"
checksum="${_distcksum}"
short_desc="A desktop client for the Soulseek peer-to-peer file sharing network"
maintainer="jarbowski <jarbowski@cock.lu>"
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"
nopie=yes
do_install() {
vbin SoulseekQt-$_pkgver $pkgname
vinstall ${FILESDIR}/soulseekqt.desktop 644 usr/share/applications
vinstall ${FILESDIR}/soulseekqt.png 644 usr/share/pixmaps
}