slack-desktop: update to 3.2.1. (#1221)
This commit is contained in:
parent
6d2eacd41c
commit
e9a4cba468
|
@ -1,28 +1,28 @@
|
||||||
# Template file for 'slack-desktop'
|
# Template file for 'slack-desktop'
|
||||||
pkgname=slack-desktop
|
pkgname=slack-desktop
|
||||||
version=3.1.1
|
version=3.2.1
|
||||||
revision=1
|
revision=1
|
||||||
only_for_archs="x86_64"
|
only_for_archs="x86_64"
|
||||||
short_desc="A messaging app for teams"
|
short_desc="Messaging app for teams"
|
||||||
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||||||
license="Proprietary"
|
license="Proprietary"
|
||||||
homepage="https://slack.com/"
|
|
||||||
repository="nonfree"
|
repository="nonfree"
|
||||||
restricted=yes
|
restricted=yes
|
||||||
|
homepage="https://slack.com/"
|
||||||
|
distfiles="https://slack-ssb-updates.global.ssl.fastly.net/linux_releases/${pkgname}-${version}-amd64.deb"
|
||||||
|
checksum=503995fe48cdb435a479669971e2a7ea7223428adc3c4f9fee94dbbdf9bcad24
|
||||||
nopie=yes
|
nopie=yes
|
||||||
checksum=a966e446d3e5a5ab2373fcd29afddd720cdfe47438009d1086ee532fab884c37
|
|
||||||
distfiles="https://slack-ssb-updates.global.ssl.fastly.net/linux_releases/slack-desktop-${version}-amd64.deb"
|
|
||||||
|
|
||||||
do_extract() {
|
do_extract() {
|
||||||
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/slack-desktop-${version}-amd64.deb
|
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}-amd64.deb
|
||||||
cd ${wrksrc}
|
tar xf data.tar.xz
|
||||||
tar xfJ data.tar.xz
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vlicense usr/share/doc/slack-desktop/copyright
|
vlicense usr/share/doc/slack-desktop/copyright
|
||||||
rm -rf usr/share/doc
|
vinstall usr/share/applications/slack.desktop 644 usr/share/applications
|
||||||
rm -rf etc
|
vinstall usr/share/pixmaps/slack.png 644 usr/share/pixmaps
|
||||||
rm -rf usr/share/lintian
|
mkdir ${DESTDIR}/usr/{bin,lib}
|
||||||
vcopy usr/ /
|
vcopy usr/lib/slack usr/lib
|
||||||
|
ln -s ../lib/slack/slack ${DESTDIR}/usr/bin/slack
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue