slack-desktop: update to 2.1.1 (#4679)
This commit is contained in:
@@ -1,2 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
exec /usr/share/slack/slack "$@"
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
# Template file for 'slack-desktop'
|
# Template file for 'slack-desktop'
|
||||||
pkgname=slack-desktop
|
pkgname=slack-desktop
|
||||||
version=1.2.6
|
version=2.1.1
|
||||||
revision=1
|
revision=1
|
||||||
only_for_archs="i686 x86_64"
|
only_for_archs="i686 x86_64"
|
||||||
short_desc="A messaging app for teams"
|
short_desc="A messaging app for teams"
|
||||||
@@ -9,13 +9,14 @@ license="Proprietary"
|
|||||||
homepage="https://slack.com/"
|
homepage="https://slack.com/"
|
||||||
repository="nonfree"
|
repository="nonfree"
|
||||||
restricted=yes
|
restricted=yes
|
||||||
|
nopie=yes
|
||||||
|
|
||||||
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ];then
|
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ];then
|
||||||
_debarch=amd64
|
_debarch=amd64
|
||||||
checksum=f7a10e7b565e2251f63bff879e9a31728af374c5e0aa36b577d3c542a3e25760
|
checksum=03ee895a8ce6e4eda3105e2eee9f1353a0798a9dcbbc3b1b384dad599e2ed533
|
||||||
else
|
else
|
||||||
_debarch=i386
|
_debarch=i386
|
||||||
checksum=474a1f95920e39e3a93e7771e7214401e8549d82142d313e6224540c9e17ddef
|
checksum=f023118d978cd0f27d36f9c816edcddb9e192b45a8c1f51079378525bdcf8e43
|
||||||
fi
|
fi
|
||||||
|
|
||||||
distfiles="https://slack-ssb-updates.global.ssl.fastly.net/linux_releases/slack-desktop-${version}-${_debarch}.deb"
|
distfiles="https://slack-ssb-updates.global.ssl.fastly.net/linux_releases/slack-desktop-${version}-${_debarch}.deb"
|
||||||
@@ -27,15 +28,9 @@ do_extract() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin ${FILESDIR}/slack
|
vlicense usr/share/doc/slack/copyright
|
||||||
vlicense usr/share/slack/LICENSE
|
|
||||||
rm -rf usr/share/doc
|
rm -rf usr/share/doc
|
||||||
rm -rf etc
|
rm -rf etc
|
||||||
rm -rf usr/share/lintian
|
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/ /
|
vcopy usr/ /
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user