diff options
Diffstat (limited to 'azuredatastudio-bin')
-rw-r--r-- | azuredatastudio-bin/PKGBUILD | 73 | ||||
-rw-r--r-- | azuredatastudio-bin/azuredatastudio.desktop | 18 |
2 files changed, 91 insertions, 0 deletions
diff --git a/azuredatastudio-bin/PKGBUILD b/azuredatastudio-bin/PKGBUILD new file mode 100644 index 000000000..3cc6346df --- /dev/null +++ b/azuredatastudio-bin/PKGBUILD @@ -0,0 +1,73 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> +# Contributor: William Turner <willtur.will@gmail.com> + +pkgname=azuredatastudio-bin +_pkgname=azuredatastudio +pkgver=1.48.0 +pkgrel=1 +pkgdesc="A data management tool that enables you to work with SQL Server, Azure SQL DB and SQL DW. (official prebuilt version)" +arch=('x86_64') +url="https://github.com/Microsoft/azuredatastudio" +license=('custom: microsoft') +_pinned_dependencies=( + 'gcc-libs=13.2.1' + 'glibc>=2.39' + 'libasound.so=2' + 'libatk-1.0.so=0' + 'libatk-bridge-2.0.so=0' + 'libatspi.so=0' + 'libcairo.so=2' + 'libcrypto.so=3' + 'libcurl.so=4' + 'libdbus-1.so=3' + 'libdrm=2.4.120' + 'libexpat.so=1' + 'libgio-2.0.so=0' + 'libglib-2.0.so=0' + 'libgobject-2.0.so=0' + 'libgssapi_krb5.so=2' + 'libgtk-3.so=0' + 'libkrb5.so=3' + 'libpango-1.0.so=0' + 'libsecret-1.so=0' + 'libssl.so=3' + 'libx11=1.8.9' + 'libxcb=1.17.0' + 'libxcomposite=0.4.6' + 'libxdamage=1.1.6' + 'libxext=1.3.6' + 'libxfixes=6.0.1' + 'libxkbcommon.so=0' + 'libxkbfile=1.1.3' + 'libxrandr=1.5.4' + 'libz.so=1' + 'mesa=1:24.0.6' + 'nspr=4.35' + 'nss=3.99' +) +depends=("${_pinned_dependencies[@]}") +makedepends=('sed') +optdepends=('krb5: Windows authentication support' + 'xdg-utils: Desktop integration') +conflicts=('azuredatastudio') +options=('staticlibs') +source=("$pkgname-$pkgver.tar.gz::https://azuredatastudio-update.azurewebsites.net/$pkgver/linux-x64/stable" + "${_pkgname}.desktop") +sha256sums=('f99fe0d75103e3aaa535d8a6e99cbc3530f603b0c6d85fa8f5a8a41821b9890e' + 'ff4b8d7d1648e7552017c103308aef2d291509a73b7b4ed6083501ea55a1b541') + +package() { + install -d "${pkgdir}/opt/${_pkgname}" + cp -a "azuredatastudio-linux-x64/"* "${pkgdir}/opt/${_pkgname}" + + # Symlink the startup script in /usr/bin + install -d "${pkgdir}/usr/bin" + ln -s "/opt/${_pkgname}/bin/azuredatastudio" "${pkgdir}/usr/bin/${_pkgname}" + + # Add the icon and desktop file + install -D -m644 "azuredatastudio-linux-x64/resources/app/resources/linux/code.png" "${pkgdir}/usr/share/icons/${_pkgname}.png" + install -D -m644 "${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop" + + # Install the license file + install -D -m644 "azuredatastudio-linux-x64/resources/app/LICENSE.txt" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" +} diff --git a/azuredatastudio-bin/azuredatastudio.desktop b/azuredatastudio-bin/azuredatastudio.desktop new file mode 100644 index 000000000..ee8643fc9 --- /dev/null +++ b/azuredatastudio-bin/azuredatastudio.desktop @@ -0,0 +1,18 @@ +[Desktop Entry] +Name=Azure Data Studio +Comment=Data Management Tool that enables you to work with SQL Server, Azure SQL DB and SQL DW from Windows, macOS and Linux. +GenericName=Text Editor +Exec=/opt/azuredatastudio/bin/azuredatastudio --unity-launch %F +Icon=azuredatastudio +Type=Application +StartupNotify=false +StartupWMClass=azuredatastudio +Categories=TextEditor;Development;IDE; +MimeType=text/plain;application/x-azuredatastudio-workspace; +Actions=new-empty-window; +Keywords=azuredatastudio; + +[Desktop Action new-empty-window] +Name=New Empty Window +Exec=/opt/azuredatastudio/bin/azuredatastudio --new-window %F +Icon=azuredatastudio |