mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 18:02:57 +02:00
teams-bin: don't manually extract deb
This commit is contained in:
parent
92de98c979
commit
586d812034
1 changed files with 1 additions and 7 deletions
|
@ -3,20 +3,16 @@ pkgname=teams-bin
|
|||
version=1.5.00.23861
|
||||
revision=1
|
||||
archs="x86_64"
|
||||
create_wrksrc=yes
|
||||
short_desc="Official Microsoft Teams client"
|
||||
maintainer="Piraty <piraty1@inbox.ru>"
|
||||
license="custom:Proprietary"
|
||||
homepage="https://teams.microsoft.com/downloads"
|
||||
distfiles="https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams/teams_${version}_amd64.deb"
|
||||
checksum=87462709e257fff9784de809559b5abd5dc7af18d8505d856b92a66989995bc1
|
||||
|
||||
repository=nonfree
|
||||
restricted=yes
|
||||
|
||||
do_extract() {
|
||||
ar p "${XBPS_SRCDISTDIR}/${pkgname}-${version}/teams_${version}_amd64.deb" data.tar.xz | bsdtar --extract --xz -f - -C .
|
||||
}
|
||||
|
||||
do_install() {
|
||||
# use our simple wrapper instead of the provided one
|
||||
vbin ${FILESDIR}/teams-wrapper.sh teams
|
||||
|
@ -32,9 +28,7 @@ do_install() {
|
|||
vlicense usr/share/teams/resources/ThirdPartyNotice.txt
|
||||
vlicense usr/share/teams/LICENSE
|
||||
vlicense usr/share/teams/LICENSES.chromium.html
|
||||
}
|
||||
|
||||
post_install() {
|
||||
# purge bundled libraries, but keep those not provided by Void
|
||||
mkdir libsave
|
||||
for lib in libffmpeg.so; do
|
||||
|
|
Loading…
Add table
Reference in a new issue