slack-desktop: update to 2.1.1 (#4679)

This commit is contained in:
Diogo Leal 2016-08-29 02:52:25 -03:00 committed by Juan RP
parent 3f52265ce0
commit 1ee3e2f087
2 changed files with 5 additions and 12 deletions

View file

@ -1,2 +0,0 @@
#!/bin/sh
exec /usr/share/slack/slack "$@"

View file

@ -1,6 +1,6 @@
# Template file for 'slack-desktop'
pkgname=slack-desktop
version=1.2.6
version=2.1.1
revision=1
only_for_archs="i686 x86_64"
short_desc="A messaging app for teams"
@ -9,13 +9,14 @@ license="Proprietary"
homepage="https://slack.com/"
repository="nonfree"
restricted=yes
nopie=yes
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ];then
_debarch=amd64
checksum=f7a10e7b565e2251f63bff879e9a31728af374c5e0aa36b577d3c542a3e25760
checksum=03ee895a8ce6e4eda3105e2eee9f1353a0798a9dcbbc3b1b384dad599e2ed533
else
_debarch=i386
checksum=474a1f95920e39e3a93e7771e7214401e8549d82142d313e6224540c9e17ddef
checksum=f023118d978cd0f27d36f9c816edcddb9e192b45a8c1f51079378525bdcf8e43
fi
distfiles="https://slack-ssb-updates.global.ssl.fastly.net/linux_releases/slack-desktop-${version}-${_debarch}.deb"
@ -27,15 +28,9 @@ do_extract() {
}
do_install() {
vbin ${FILESDIR}/slack
vlicense usr/share/slack/LICENSE
vlicense usr/share/doc/slack/copyright
rm -rf usr/share/doc
rm -rf etc
rm -rf usr/share/lintian
rm -rf usr/share/doc
rm -rf usr/share/slack/resources/app.asar.unpacked/static/plugins/darwin
rm -rf usr/share/slack/resources/app.asar.unpacked/static/plugins/win32
find usr/ -type f -iname \*.dll -delete
find usr/ -type f -iname \*.exe -delete
vcopy usr/ /
}