summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4942038a7f176800f0c3c4ae501f0e19c50e5cef (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
# Author: Mathieu Westphal <mathieu.westphal@gmail.com>

pkgname=xplorers
pkgver=1.0
pkgrel=1
pkgdesc="Xplorers Board game"
arch=('any')
url="http://games.asobrain.com/"
license=(Other)
depends=('icedtea-web')
source=(
    "${pkgname}Cities1.jnlp::file://${pkgname}Cities1.jnlp"
    "${pkgname}Basic1.jnlp::file://${pkgname}Basic1.jnlp"
    "${pkgname}Practice1.jnlp::file://${pkgname}Practice1.jnlp"
    "${pkgname}Practice2.jnlp::file://${pkgname}Practice2.jnlp"
    "${pkgname}Team1.jnlp::file://${pkgname}Team1.jnlp"
    "${pkgname}Tournament1.jnlp::file://${pkgname}Tournament1.jnlp"
    "${pkgname}Tournament2.jnlp::file://${pkgname}Tournament2.jnlp"
    "${pkgname}Tournament3.jnlp::file://${pkgname}Tournament3.jnlp"
    "${pkgname}.sh"
    )

md5sums=('SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'e7bb46f10f60e1aa4917d60bd9c4104f')

package() {

  # Install .jnlp files
  mkdir -p "${pkgdir}/opt/${pkgname}"
  cp "${srcdir}/"*".jnlp" "${pkgdir}/opt/${pkgname}"

  # install launcher script
  mkdir -p "$pkgdir/usr/bin"
  install -Dm755 "${pkgname}.sh" "${pkgdir}/usr/bin"
}

# vim:set ts=2 sw=2 et: