25 lines
823 B
Bash
25 lines
823 B
Bash
# Template file for 'slack-desktop'
|
|
pkgname=slack-desktop
|
|
version=4.35.126
|
|
revision=1
|
|
archs="x86_64"
|
|
depends="xdg-utils"
|
|
short_desc="Messaging app for teams"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="custom:Proprietary"
|
|
homepage="https://slack.com/"
|
|
distfiles="https://downloads.slack-edge.com/releases/linux/${version}/prod/x64/${pkgname}-${version}-amd64.deb"
|
|
checksum=95d1404a7b45f3282eeb9ed65f093f5e5a47cc1f92f71f128c03a38c32acbc2b
|
|
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
|
|
}
|