blob: 0e1463f329c4123bcfe1db210509b49f07dbf912 (
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
|
# Maintainer: Andrew Shark <ashark[at]linuxcomp[dot]ru>
pkgbase=writerside-eap
pkgname=(writerside-eap writerside-eap-jre)
pkgver=243.21565.432
pkgrel=1
pkgdesc="Documentation authoring IDE from JetBrains. Early Access Program."
arch=("x86_64")
options=("!strip")
url="https://www.jetbrains.com/writerside/"
license=("Commercial")
_pkgname="writerside"
source=(https://download.jetbrains.com/${_pkgname}/${_pkgname}-${pkgver}.tar.gz
writerside-eap.desktop)
sha256sums=("651491afd8a42431045b8d6af13954c001aa45f59f905481b1b3b821f140b60b"
"edba515d4fc04bf417fa9ab2da31cccebfe3c00cb8013cede909f6550650df7f")
package_writerside-eap() {
optdepends=("writerside-eap-jre: JetBrains custom Java Runtime (Recommended)"
"java-runtime: JRE - Required if writerside-eap-jre is not installed")
cd "${srcdir}"
mkdir -p "${pkgdir}/opt/${pkgname}"
cp --recursive "${srcdir}"/${_pkgname}-${pkgver}/* "${pkgdir}/opt/${pkgname}"
rm -rf "${pkgdir}"/opt/${pkgname}/jbr
mkdir -p "${pkgdir}/usr/bin"
mkdir -p "${pkgdir}/usr/share/applications"
mkdir -p "${pkgdir}/usr/share/pixmaps"
mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
# From the installation guide documentation (https://www.jetbrains.com/help/pycharm/installation-guide.html#standalone):
# To create a desktop entry, do one of the following:
# On the Welcome screen, click Configure | Create Desktop Entry
# From the main menu, click Tools | Create Desktop Entry
install -m 644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications"
ln -s "/opt/${pkgname}/bin/${_pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
}
package_writerside-eap-jre() {
pkgdesc="JBR (JetBrains Runtime) for Writerside EAP"
url="https://github.com/JetBrains/JetBrainsRuntime"
install -dm755 "${pkgdir}"/opt/${pkgbase}
cp -a "${srcdir}/${_pkgname}-${pkgver}/jbr" "${pkgdir}/opt/${pkgbase}"
}
|