-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
executable file
·30 lines (27 loc) · 1.54 KB
/
PKGBUILD
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
# Maintainer: Frederik Schwan <freswa at archlinux dot org>
pkgname=jetbrains-toolbox
pkgver=2.1.3.18901
pkgrel=1
pkgdesc='Manage all your JetBrains Projects and Tools'
arch=('x86_64')
url='https://www.jetbrains.com/toolbox/'
license=('custom:jetbrains')
depends=('fuse2' 'glib2' 'libxslt' 'libxss' 'xcb-util-keysyms' 'xdg-utils' 'nss')
optdepends=('xdg-utils: open URLs')
options=('!strip')
source=("https://download.jetbrains.com/toolbox/${pkgname}-${pkgver}.tar.gz"
jetbrains-toolbox.desktop
icon.svg
LICENSE)
b2sums=('0da2a07dd6fa699c699ab1d3950ffd6f7c96930b1572a73ee969a61867cb4e4de451218d70cece7e71f65cdb7e730d4bebee50c83841a688982dae224e093e44'
'29b6d4be91d9276bce9e5413fb877db82de414198e343ff3f7aa5d03f65cf42c80f78ec3b43f601394fecc6a31712d1c475f3fdec71e51be5732ec7b1eb8dca9'
'4b10487746fcb7f328cbdc8b17432f82618c5695baee4ef30e23ff3c4d4b6096daf2fcdfb4c1e2e179e2e61f68bbd88104e5df5a2e6e969aad0a68a75cfff496'
'dadaf0e67b598aa7a7a4bf8644943a7ee8ebf4412abb17cd307f5989e36caf9d0db529a0e717a9df5d9537b10c4b13e814b955ada6f0d445913c812b63804e77')
package() {
install -dm755 "${pkgdir}"/usr/bin/
install -Dm644 "${srcdir}"/${pkgname}.desktop "${pkgdir}"/usr/share/applications/${pkgname}.desktop
install -Dm644 "${srcdir}"/icon.svg "${pkgdir}"/usr/share/pixmaps/${pkgname}.svg
install -Dm755 "${srcdir}"/${pkgname}-${pkgver}/${pkgname} "${pkgdir}"/opt/${pkgname}/${pkgname}
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
ln -s /opt/${pkgname}/${pkgname} "${pkgdir}"/usr/bin/${pkgname}
}