29 lines
898 B
Bash
29 lines
898 B
Bash
# Template file for 'slack-desktop'
|
|
pkgname=slack-desktop
|
|
version=3.3.3
|
|
revision=1
|
|
only_for_archs="x86_64"
|
|
short_desc="Messaging app for teams"
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
license="Proprietary"
|
|
repository="nonfree"
|
|
restricted=yes
|
|
homepage="https://slack.com/"
|
|
distfiles="https://slack-ssb-updates.global.ssl.fastly.net/linux_releases/${pkgname}-${version}-amd64.deb"
|
|
checksum=d12dcc09f75af35b949068dd2b46c4e2a1990b8c7d3b3fdd4fc40b539755a407
|
|
nopie=yes
|
|
|
|
do_extract() {
|
|
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}-amd64.deb
|
|
tar xf data.tar.xz
|
|
}
|
|
|
|
do_install() {
|
|
vlicense usr/share/doc/slack-desktop/copyright
|
|
vinstall usr/share/applications/slack.desktop 644 usr/share/applications
|
|
vinstall usr/share/pixmaps/slack.png 644 usr/share/pixmaps
|
|
mkdir ${DESTDIR}/usr/{bin,lib}
|
|
vcopy usr/lib/slack usr/lib
|
|
ln -s ../lib/slack/slack ${DESTDIR}/usr/bin/slack
|
|
}
|