blob: f254011a1f6fda9686172f57367f9e4940be2480 (
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
|
# Maintainer: Leonidas Spyropoulos <artafinde at gmail dot com>
pkgname=intellij-idea-ue-eap
_pkgname=idea-IU
_buildver=243.19420.21
_veryear=2024
_verrelease=2
_verextra=1
pkgver=${_veryear}.${_verrelease}.${_buildver}
pkgrel=1
pkgdesc="Early access version of the upcoming version of Intellij Idea IDE (ultimate version)"
arch=('any')
options=(!strip)
url="http://www.jetbrains.com/idea/nextversion"
license=('custom')
depends=('java-environment' 'giflib' 'libxtst' 'libdbusmenu-glib')
_archive="ideaIU-${_buildver}.tar.gz"
source=("https://download.jetbrains.com/idea/${_archive}"
"intellij-idea-ue-eap.desktop")
sha256sums=($(curl -s "https://download.jetbrains.com/idea/${_archive}.sha256" | cut -f1 -d" ")
'af5a9e49b921dbdc5b960dedc27e15b2510896ff6e58d983fca7de6a6fd18f38')
package() {
install -dm755 "${pkgdir}/opt/${pkgname}"
cp -r --no-preserve='ownership' "${srcdir}/${_pkgname}-${_buildver}/"* "${pkgdir}/opt/${pkgname}"
install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
find "${srcdir}/${_pkgname}-${_buildver}/license/" -type f -exec \
install -Dm644 '{}' "${pkgdir}/usr/share/licenses/${pkgname}/" \;
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
sed -i "s/_pkgver/${pkgver}/" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -dm755 -p "${pkgdir}/usr/bin/"
ln -s "/opt/${pkgname}/bin/idea.sh" "${pkgdir}/usr/bin/idea-ue-eap"
}
# vim:set ts=4 sw=4 et:
|