vscode: init at 1.54.3
This commit is contained in:
parent
43529da7ac
commit
587d38f1c5
33
sakamoto/vscode/APKBUILD
Normal file
33
sakamoto/vscode/APKBUILD
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
||||
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
||||
pkgname=vscode
|
||||
pkgver=1.54.3
|
||||
pkgrel=0
|
||||
pkgdesc="Microsoft Code for Linux"
|
||||
url="https://code.visualstudio.com"
|
||||
arch="x86_64"
|
||||
license="MIT"
|
||||
depends="libxtst libxkbfile nss ttf-dejavu xdg-utils ripgrep electron9"
|
||||
makedepends="zstd tar"
|
||||
install=""
|
||||
subpackages=""
|
||||
_filename="$pkgname-${pkgver}_1.x86_64-musl.xbps"
|
||||
source="https://alpha.de.repo.voidlinux.org/current/musl/$_filename"
|
||||
builddir="$srcdir/tmp"
|
||||
|
||||
build() {
|
||||
zstd -d $(realpath $_filename) -o package.tar
|
||||
mkdir -p "$builddir"
|
||||
tar xf package.tar -C "$builddir"
|
||||
}
|
||||
|
||||
package() {
|
||||
rm "$builddir"/*.plist
|
||||
rm -f "$builddir"/INSTALL
|
||||
rm -f "$builddir"/REMOVE
|
||||
|
||||
mkdir -p "$pkgdir"
|
||||
cp -r "$builddir"/* "$pkgdir"
|
||||
}
|
||||
|
||||
sha512sums="fcec346f2a58be3f1accb785e1579a37455d927b203f082a7af7df86ad6c31e0ebda5888f2370fa20a6c278a11efaf5c559423043c6f8b5c92e9f1231eaf87a0 vscode-1.54.3_1.x86_64-musl.xbps"
|
Loading…
Reference in a new issue