Merge pull request #6787 from SevereOverfl0w/263slackdp

Update slack-desktop to 2.6.3
This commit is contained in:
Toyam Cox 2017-06-19 13:30:44 -04:00 committed by GitHub
commit 272c8926cd
2 changed files with 8 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

View File

@ -0,0 +1,2 @@
site="https://slack.com/downloads/linux"
pattern='Version \K[\d.]+(?=)'