26 lines
879 B
Bash
26 lines
879 B
Bash
# Template file for 'slack-desktop'
|
|
pkgname=slack-desktop
|
|
version=4.41.96
|
|
revision=1
|
|
archs="x86_64"
|
|
depends="xdg-utils"
|
|
short_desc="Messaging app for teams"
|
|
maintainer="Rodrigo Oliveira <mdkcore@qtrnn.io>"
|
|
license="custom:Proprietary"
|
|
homepage="https://slack.com/"
|
|
changelog="https://slack.com/release-notes/linux"
|
|
distfiles="https://downloads.slack-edge.com/desktop-releases/linux/x64/${version}/${pkgname}-${version}-amd64.deb"
|
|
checksum=85b5915d6230ad4f5686b857390bf086205a81ff9f7cc18415cec07156c738fe
|
|
restricted=yes
|
|
repository="nonfree"
|
|
nopie=yes
|
|
|
|
do_install() {
|
|
vlicense usr/share/doc/slack-desktop/OPEN_SOURCE_LICENSE_ATTRIBUTIONS
|
|
vinstall usr/share/applications/slack.desktop 644 usr/share/applications
|
|
vinstall usr/share/pixmaps/slack.png 644 usr/share/pixmaps
|
|
mkdir ${DESTDIR}/usr/bin
|
|
vcopy usr/lib/slack usr/lib
|
|
ln -s ../lib/slack/slack ${DESTDIR}/usr/bin/slack
|
|
}
|