blob: 93e1ff052b92fd348bd769a3460f2af0f70c0a1f (
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
|
# Maintainer: edward-p <edward at edward-p dot xyz>
pkgname=projector-bin
pkgver=1.1.0
pkgrel=1
pkgdesc='Common and client-related code for running Swing applications remotely.'
arch=('x86_64')
url='https://github.com/JetBrains/projector-client'
license=('MIT')
depends=('electron16')
options=('!strip')
conflicts=('projector')
source_x86_64=(
"$pkgname-$pkgver.zip::https://github.com/JetBrains/projector-client/releases/download/launcher-v${pkgver}/projector-linux-x64-launcher-v${pkgver}.zip"
)
source=(
"projector.desktop"
"projector.sh"
)
sha1sums=('9e5295435b2b5eef024a39a5a62fe1c3e81a4b0d'
'530cfc10f8d6198a24e5c98cdf39b386ed1733d0')
sha1sums_x86_64=('93162dc4968ddd2695f1a0a0e4dd1f0be10c019b')
package() {
cd "$srcdir/projector-linux-x64/resources/app"
# Install Postman app resource
find . -type f -exec install -Dm644 {} "$pkgdir/usr/share/projector/app/{}" \;
# Install bin
install -Dm755 "$srcdir/projector.sh" "$pkgdir/usr/bin/projector"
# Install desktop
install -Dm755 "$srcdir/projector.desktop" "$pkgdir/usr/share/applications/projector.desktop"
# Install icons
install -Dm644 "assets/img/electron-icon.png" "$pkgdir/usr/share/icons/hicolor/512x512/apps/projector.png"
# Install license
install -Dm644 "../../LICENSE" "$pkgdir/usr/share/licenses/projector/LICENSE"
}
|