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