slack-desktop: update to 2.6.3.

slack-desktop have dropped support for 32-bit as of 2.2.1 it seems.
This commit is contained in:
Dominic Monroe 2017-06-19 14:24:26 +01:00
parent 867f5e65db
commit bcb92c3ead
1 changed files with 6 additions and 14 deletions

View File

@ -1,8 +1,8 @@
# Template file for 'slack-desktop'
pkgname=slack-desktop
version=2.1.1
version=2.6.3
revision=1
only_for_archs="i686 x86_64"
only_for_archs="x86_64"
short_desc="A messaging app for teams"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="Proprietary"
@ -10,25 +10,17 @@ homepage="https://slack.com/"
repository="nonfree"
restricted=yes
nopie=yes
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ];then
_debarch=amd64
checksum=03ee895a8ce6e4eda3105e2eee9f1353a0798a9dcbbc3b1b384dad599e2ed533
else
_debarch=i386
checksum=f023118d978cd0f27d36f9c816edcddb9e192b45a8c1f51079378525bdcf8e43
fi
distfiles="https://slack-ssb-updates.global.ssl.fastly.net/linux_releases/slack-desktop-${version}-${_debarch}.deb"
checksum=ec11c05e954b1291f2503bbbd9d0b371190bdf157b2d973e54fa42418ea1e2f0
distfiles="https://slack-ssb-updates.global.ssl.fastly.net/linux_releases/slack-desktop-${version}-amd64.deb"
do_extract() {
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/slack-desktop-${version}-${_debarch}.deb
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/slack-desktop-${version}-amd64.deb
cd ${wrksrc}
tar xfJ data.tar.xz
}
do_install() {
vlicense usr/share/doc/slack/copyright
vlicense usr/share/doc/slack-desktop/copyright
rm -rf usr/share/doc
rm -rf etc
rm -rf usr/share/lintian