summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2f99516b659a739fcfbc97739fb8a71137c592fe (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
# Maintainer: Simon Conseil <contact+aur at saimon dot org>
pkgname=stilts
pkgver=3.5.1
_pkgver=3.5-1
pkgrel=1
pkgdesc="Starlink Tables Infrastructure Library Tool Set"
arch=('any')
url="https://www.star.bristol.ac.uk/mbt/stilts/"
depends=('java-runtime' 'sh')
license=('GPL')
noextract=('stilts.jar')
source=("stilts-${pkgver}.jar::https://www.star.bristol.ac.uk/mbt/releases/stilts/v${_pkgver}/stilts.jar"
        "stilts" "stilts4.gif")
md5sums=('6c0ba99bab662ef6588ebe4c47778eeb'
         '4f7dd76969e791b934cfd8eb59822bf2'
         '574cb973184b3b7562f84c3e171244dd')

package() {
  cd "$srcdir"
  mkdir -p "$pkgdir/usr/share/java"
  mkdir -p "$pkgdir/usr/bin"
  mkdir -p "$pkgdir/usr/share/pixmaps"
  install -m644 "$srcdir"/stilts-${pkgver}.jar "$pkgdir"/usr/share/java/stilts.jar
  install -m755 "$srcdir"/stilts "$pkgdir"/usr/bin/stilts
  install -m755 "$srcdir"/stilts4.gif "$pkgdir"/usr/share/pixmaps
}