soulseekqt: fix distfiles

Closes: #10769 [via git-merge-pr]
This commit is contained in:
cr6git 2018-01-13 16:15:21 +01:00 committed by Jürgen Buchmüller
parent 9c7085fe2b
commit b8e68dffe4
1 changed files with 8 additions and 2 deletions

View File

@ -4,24 +4,30 @@ version=20160117
revision=1 revision=1
_pkgver=2016-1-17 _pkgver=2016-1-17
if [ "$XBPS_MACHINE" = "x86_64" ]; then if [ "$XBPS_MACHINE" = "x86_64" ]; then
_path=7qh902qv2sxyp6p
_pkgver=$_pkgver-64bit _pkgver=$_pkgver-64bit
_distcksum=8c11af264ffdd045de1093090533fc7b86e8814442a14d366c1df1dd6ed58316 _distcksum=8c11af264ffdd045de1093090533fc7b86e8814442a14d366c1df1dd6ed58316
else else
_path=kebk1b5ib1m3xxw
_pkgver=$_pkgver-32bit _pkgver=$_pkgver-32bit
_distcksum=39daec020c766350159f63dc025f55a840891dcb805977e8e0eb4daa9d853965 _distcksum=39daec020c766350159f63dc025f55a840891dcb805977e8e0eb4daa9d853965
fi fi
distfiles="https://dl.dropboxusercontent.com/u/7226803/SoulseekQt-$_pkgver.tgz" distfiles="https://www.dropbox.com/s/$_path/SoulseekQt-$_pkgver.tgz"
checksum="${_distcksum}" checksum="${_distcksum}"
short_desc="A desktop client for the Soulseek peer-to-peer file sharing network" short_desc="Desktop client for the Soulseek peer-to-peer file sharing network"
maintainer="jarbowski <jarbowski@cock.lu>" maintainer="jarbowski <jarbowski@cock.lu>"
homepage="http://www.soulseekqt.net/news/" homepage="http://www.soulseekqt.net/news/"
license="Soulseek License (non free)" license="Soulseek License (non free)"
repository="nonfree" repository="nonfree"
hostmakedepends="wget"
depends="libXext fontconfig libXrender libSM alsa-lib" depends="libXext fontconfig libXrender libSM alsa-lib"
create_wrksrc=yes create_wrksrc=yes
only_for_archs="i686 x86_64" only_for_archs="i686 x86_64"
nopie=yes nopie=yes
# wget seems to be more efficient to deal with dropbox
XBPS_FETCH_CMD="wget --progress=dot:mega"
do_install() { do_install() {
vbin SoulseekQt-$_pkgver $pkgname vbin SoulseekQt-$_pkgver $pkgname
vinstall ${FILESDIR}/soulseekqt.desktop 644 usr/share/applications vinstall ${FILESDIR}/soulseekqt.desktop 644 usr/share/applications