summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ee803286bc68b89fd00520251ce671df159893a8 (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
# Maintainer: Lift <clairdesoleil123@gmail.com>

pkgname=aqua-eap
pkgver=233.14475.33
pkgrel=1
epoch=1
pkgdesc="A powerful IDE for test automation by JetBrains."
arch=('any')
options=('!strip')
url="https://www.jetbrains.com/aqua"
license=("custom")
optdepends=()

source=("https://download-cdn.jetbrains.com/aqua/aqua-${pkgver}.tar.gz"
	"aqua-eap.desktop")
sha256sums=('7fbc5565208acd0f4428c10823778c0d2bfd192e4cfce74ee2788477dacad5e0'
	        'f246e1ca271a49160a31107491c8b6b09a93ae4352ca928df3b16663967aa599')

package() {
    # create the target folders
    install -dm 755 "${pkgdir}/usr/share/licenses/aqua" "${pkgdir}/usr/bin/" "${pkgdir}/opt/"

    # install the package content
    cp -rdp --no-preserve=ownership "./aqua-${pkgver}/" "${pkgdir}/opt/${pkgname}"
    install -Dm644 "./${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"

    ln -s "/opt/${pkgname}/bin/aqua.sh" "${pkgdir}/usr/bin/aqua"
    ln -s "/opt/${pkgname}/license" "${pkgdir}/usr/share/licenses/aqua/"
}