diff options
-rw-r--r-- | .SRCINFO | 32 | ||||
-rw-r--r-- | .gitignore | 14 | ||||
-rw-r--r-- | PKGBUILD | 31 |
3 files changed, 77 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7d8ce498457f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,32 @@ +pkgbase = code-headmelted-bin + pkgdesc = Community builds of Visual Studio Code, including for ARM devices + pkgver = 1.32.0 + pkgrel = 1 + url = https://code.headmelted.com + arch = i686 + arch = x86_64 + arch = armv7h + arch = aarch64 + license = MIT + depends = libnotify + depends = gnupg + depends = libxkbfile + depends = libsecret + depends = gtk3 + optdepends = trash-cli: For moving items to trash + provides = code + provides = vscode-headmelted-bin + conflicts = code + conflicts = vscode-headmelted-bin + replaces = vscode-headmelted-bin + source_i686 = https://github.com/headmelted/codebuilds/releases/download/20-Feb-19/code-oss_1.32.0-1550645370_i386.deb + md5sums_i686 = 907ce86f3a15b7a1448aef6c7783df18 + source_x86_64 = https://github.com/headmelted/codebuilds/releases/download/20-Feb-19/code-oss_1.32.0-1550644812_amd64.deb + md5sums_x86_64 = 5eddfd3a70c8af45f3840d208d19417a + source_armv7h = https://github.com/headmelted/codebuilds/releases/download/20-Feb-19/code-oss_1.32.0-1550644722_armhf.deb + md5sums_armv7h = 58dbabd3edeb08efe1c844a6db361f51 + source_aarch64 = https://github.com/headmelted/codebuilds/releases/download/20-Feb-19/code-oss_1.32.0-1550644676_arm64.deb + md5sums_aarch64 = 82d1333c290d92597e649f6b71b3ba2a + +pkgname = code-headmelted-bin + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..fd64e8ac371d --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +*.tar +*.tar.* +*.jar +*.exe +*.msi +*.zip +*.tgz +*.log +*.log.* +*.sig + +pkg/ +src/ +*.deb diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9b33d149810c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Alex Dewar <a.dewar@sussex.ac.uk> +pkgname=code-headmelted-bin +pkgver=1.32.0 +pkgrel=1 +pkgdesc="Community builds of Visual Studio Code, including for ARM devices" +arch=(i686 x86_64 armv7h aarch64) +url="https://code.headmelted.com" +license=('MIT') +depends=(libnotify gnupg libxkbfile libsecret gtk3) +optdepends=("trash-cli: For moving items to trash") +provides=(code vscode-headmelted-bin) +replaces=(vscode-headmelted-bin) +conflicts=(code vscode-headmelted-bin) +_url=https://github.com/headmelted/codebuilds/releases/download/20-Feb-19 +source_i686=("$_url/code-oss_1.32.0-1550645370_i386.deb") +source_x86_64=("$_url/code-oss_1.32.0-1550644812_amd64.deb") +source_armv7h=("$_url/code-oss_1.32.0-1550644722_armhf.deb") +source_aarch64=("$_url/code-oss_1.32.0-1550644676_arm64.deb") +md5sums_i686=('907ce86f3a15b7a1448aef6c7783df18') +md5sums_x86_64=('5eddfd3a70c8af45f3840d208d19417a') +md5sums_armv7h=('58dbabd3edeb08efe1c844a6db361f51') +md5sums_aarch64=('82d1333c290d92597e649f6b71b3ba2a') + +package() { + msg2 "Extracting the data.tar.xz..." + bsdtar -xf data.tar.xz -C "$pkgdir/" + + cd "$pkgdir" + mkdir -p usr/bin + ln -s /usr/share/code-oss/bin/code-oss usr/bin +} |