blob: 3aea8fd3a01e0b1686ee989feb99e45efb04e817 (
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
|
pkgname=nsight-systems
pkgver=2024.6.1
_pkgver=2024.6.1.90-3490548
_pkgver_major=2024_6
pkgrel=1
pkgdesc="A system-wide performance analysis tool for CPUs and GPUs"
arch=('x86_64')
url="https://developer.nvidia.com/nsight-systems"
depends=(
'libxcb'
'dbus'
'expat'
'fontconfig'
'freetype2'
'libglvnd'
'libice'
'libsm'
'libssh'
'libx11'
'libxcomposite'
'libxdamage'
'libxext'
'libxfixes'
'libxkbcommon'
'libxkbcommon-x11'
'libxkbfile'
'libxrandr'
'libxrender'
'libxshmfence'
'libxtst'
'nspr'
'nss'
'xcb-util-image'
'xcb-util-keysyms'
'xcb-util-renderutil'
'xcb-util-wm')
license=('LicenseRef-NvidiaProprietary')
source=(
"https://developer.nvidia.com/downloads/assets/tools/secure/nsight-systems/${_pkgver_major}/NsightSystems-linux-public-${_pkgver}.run"
"${pkgname}.png::https://developer.download.nvidia.com/images/nvidia-nsight-systems-icon-gbp-shaded-256.png"
"${pkgname}.desktop"
)
sha256sums=(
'af782a5f78c104b0487c791ac4e81009777ec51bb1ed2a63215e56e4c4f7422b'
'38cd754a193f1715095837f97bee3a274831142dc19169240ed23d527dd4c815'
'ba75a6ec16a49c5a8484b4e48eb676d16da3c7c7e8382c98d761f8fdc4460007'
)
prepare() {
sh ./NsightSystems-linux-public-${_pkgver}.run --noexec --target "${pkgname}"
}
package() {
cd ${srcdir}/${pkgname}
./install-linux.pl -noprompt -targetpath="${pkgdir}/opt/${pkgname}"
install -dm 755 "${pkgdir}/usr/bin"
ln -s /opt/${pkgname}/bin/nsys "${pkgdir}/usr/bin"
ln -s /opt/${pkgname}/bin/nsys-ui "${pkgdir}/usr/bin"
install -Dm644 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/${pkgname}.png"
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 "${srcdir}/${pkgname}/pkg/EULA.txt"
}
|