From 1ee3e2f087a10631a1829c9d853b28a8ae1cb289 Mon Sep 17 00:00:00 2001 From: Diogo Leal Date: Mon, 29 Aug 2016 02:52:25 -0300 Subject: [PATCH] slack-desktop: update to 2.1.1 (#4679) --- srcpkgs/slack-desktop/files/slack | 2 -- srcpkgs/slack-desktop/template | 15 +++++---------- 2 files changed, 5 insertions(+), 12 deletions(-) delete mode 100755 srcpkgs/slack-desktop/files/slack diff --git a/srcpkgs/slack-desktop/files/slack b/srcpkgs/slack-desktop/files/slack deleted file mode 100755 index 74d9aa8822..0000000000 --- a/srcpkgs/slack-desktop/files/slack +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec /usr/share/slack/slack "$@" diff --git a/srcpkgs/slack-desktop/template b/srcpkgs/slack-desktop/template index ee5389a9da..511d623b81 100644 --- a/srcpkgs/slack-desktop/template +++ b/srcpkgs/slack-desktop/template @@ -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/ / }