summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d5867172b04adae72a09cdffe9f67a725e0516da (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
# Maintainer: Oshgnacknak <osh@oshgnacknak.de>
pkgname=vegalinux64
pkgver=1
pkgrel=2
epoch=
pkgdesc="Chess tournament administration sorfware"
arch=('x86_64')
url="https://www.vegachess.com"
license=('Custom')
groups=()
depends=('jre8-openjdk'
         'libmysqlclient80')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("http://www.vegachess.com/download/$pkgname.tar.gz"
        'vegachess.desktop'
        'vegateam.desktop'
        'logo.png')
noextract=()
sha256sums=('be1dd5b202a124f5bc6cb93a7663db0760a883f811ff128d6b74998fec92ebfb'
            '7ed253af097df983fc1ead3b77cd0ebb443696b32a0c50399d316f31e4b1c51b'
            'e6b762f998a4cf88e7b52a4a7884c58c55cf0939e7077f1d038868a2706115fc'
            'ac0385b28ad27877947913ae486d619f39c495d4e69369066e7e10755247bfc6')

package() {
    cd "$srcdir"
    mkdir -p $pkgdir/usr/share/applications
    cp -v *.desktop $pkgdir/usr/share/applications

    mkdir -p $pkgdir/usr/share/$pkgname
    cp -v logo.png $pkgdir/usr/share/$pkgname

    cd "VegaDistribution/$pkgname"
    cp -rv * $pkgdir/usr/share/$pkgname

    mkdir -p $pkgdir/usr/bin/
    ln -s /usr/share/$pkgname/Vega $pkgdir/usr/bin/Vega
    ln -s /usr/share/$pkgname/VegaTeam $pkgdir/usr/bin/VegaTeam
}