blob: 334050a9c7a00db33581fe997fd4fbf60e203464 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
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=14
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=14.1.1+r58+gfc9fb69ad62'
'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.121'
'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.1.2'
'nspr=4.35'
'nss=3.101'
)
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"
}
|