slack-desktop: don't manually extract deb

This commit is contained in:
classabbyamp 2022-11-11 02:28:04 -05:00 committed by classabbyamp
parent 98db2b4361
commit 3b8a8a7e9a

View file

@ -3,7 +3,6 @@ pkgname=slack-desktop
version=4.29.144
revision=1
archs="x86_64"
hostmakedepends="tar xz"
depends="xdg-utils"
short_desc="Messaging app for teams"
maintainer="Diogo Leal <diogo@diogoleal.com>"
@ -15,11 +14,6 @@ restricted=yes
repository="nonfree"
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/OPEN_SOURCE_LICENSE_ATTRIBUTIONS
vinstall usr/share/applications/slack.desktop 644 usr/share/applications