void-packages/srcpkgs/slack-desktop/template
Peter Bui 3f1ef12000 slack-desktop: update to 3.0.5.
Closes: #11563 [via git-merge-pr]
2018-03-09 11:03:37 +00:00

28 lines
749 B
Bash

# Template file for 'slack-desktop'
pkgname=slack-desktop
version=3.0.5
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=1a49e8e83d950b517a5921c5780ddd19e5a9b1ec7787bc1fd8e5b214422d358e
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/ /
}