void-packages/srcpkgs/slack-desktop/template
Dominic Monroe bcb92c3ead slack-desktop: update to 2.6.3.
slack-desktop have dropped support for 32-bit as of 2.2.1 it seems.
2017-06-19 14:24:31 +01:00

28 lines
749 B
Bash

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