summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b5534f67b2ed1404bfbc5b221549324f61bed765 (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: fsyy <fossy2001 web de>
pkgname=remotelight-bin
_pkgname=remotelight
pkgver=0.2.5.2
pkgrel=3
pkgdesc="Multifunctional LED Control Software"
url="https://github.com/Drumber/RemoteLight"
license=('GPL3')
arch=('any')
depends=('jre8-openjdk')
provides=('remotelight')
conflicts=('remotelight')
source=("https://github.com/Drumber/RemoteLight/releases/download/v${pkgver}/RemoteLight-${pkgver}.jar"
        'RemoteLight.desktop'
        'remotelight'
        'remotelight.png'
        'https://raw.githubusercontent.com/Drumber/RemoteLight/master/LICENSE')
b2sums=('3c1382b67e00ba55bbc2469076840d022689602d93a1ba90cde9199350b07430627abeb9f39a12ad2c9ee3d93ceb3bc2f5dba8cd54ee433c6e5a041f55f0cf0c'
        '993c6353dab94b7c5709f9c02a65c7728a7df360129af4fb0dcd53a9c177596d8e6db3c4167cd0a5f8eb1d199601c0236993dd8ff0c8002a8864ad45cf7a9b90'
        '046c522923a095fc80f12a245d2b18c89d7016a0606aa70fb229ccf8ad641e5a81540d4125b8c45240f588da7cb178858d3a2160cde3b949be2bd30b0e5d8e4b'
        'f7b632a2e94006956ee8e9be0315fb63d7ca23c0fa92f1b6fae31ba5c2ed0f9cae966403156a58956d18936de43e3cde94661653b08cba2fe3132f5b7de7a446'
        'SKIP')

package() {
    install -Dm755 "$srcdir/RemoteLight-${pkgver}.jar" "$pkgdir/usr/share/java/RemoteLight/RemoteLight.jar"
    install -Dm755 "$srcdir/remotelight" "$pkgdir/usr/bin/remotelight"
    install -Dm644 "$srcdir/remotelight.png" "$pkgdir/usr/share/pixmaps/remotelight.png"
    install -Dm644 "$srcdir/RemoteLight.desktop" "$pkgdir/usr/share/applications/RemoteLight.desktop"
    install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}