void-packages/srcpkgs/slack-desktop/template
Sebastian Lauwers 222ad2d45a
slack-desktop: update to 3.1.0.
Closes: #12562 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-04-07 10:44:45 +02:00

28 lines
749 B
Bash

# Template file for 'slack-desktop'
pkgname=slack-desktop
version=3.1.0
revision=1
only_for_archs="x86_64"
short_desc="A messaging app for teams"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="Proprietary"
homepage="https://slack.com/"
repository="nonfree"
restricted=yes
nopie=yes
checksum=03b72397311f555f598028bf5ef800f7449cc76544d9f9833798fc8dafeb1df9
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}-amd64.deb
cd ${wrksrc}
tar xfJ data.tar.xz
}
do_install() {
vlicense usr/share/doc/slack-desktop/copyright
rm -rf usr/share/doc
rm -rf etc
rm -rf usr/share/lintian
vcopy usr/ /
}