36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Template file for 'soulseekqt'
|
|
pkgname=soulseekqt
|
|
version=20160117
|
|
revision=1
|
|
_pkgver=2016-1-17
|
|
if [ "$XBPS_MACHINE" = "x86_64" ]; then
|
|
_path=7qh902qv2sxyp6p
|
|
_pkgver=$_pkgver-64bit
|
|
_distcksum=8c11af264ffdd045de1093090533fc7b86e8814442a14d366c1df1dd6ed58316
|
|
else
|
|
_path=kebk1b5ib1m3xxw
|
|
_pkgver=$_pkgver-32bit
|
|
_distcksum=39daec020c766350159f63dc025f55a840891dcb805977e8e0eb4daa9d853965
|
|
fi
|
|
distfiles="https://www.dropbox.com/s/$_path/SoulseekQt-$_pkgver.tgz"
|
|
checksum="${_distcksum}"
|
|
short_desc="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"
|
|
hostmakedepends="wget"
|
|
depends="libXext fontconfig libXrender libSM alsa-lib"
|
|
create_wrksrc=yes
|
|
archs="i686 x86_64"
|
|
nopie=yes
|
|
|
|
# wget seems to be more efficient to deal with dropbox
|
|
XBPS_FETCH_CMD="wget --progress=dot:mega"
|
|
|
|
do_install() {
|
|
vbin SoulseekQt-$_pkgver $pkgname
|
|
vinstall ${FILESDIR}/soulseekqt.desktop 644 usr/share/applications
|
|
vinstall ${FILESDIR}/soulseekqt.png 644 usr/share/pixmaps
|
|
}
|