summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 92d1f36358bc950e437c7cc15757fe49f94b8b0d (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
pkgname=scenic-view
pkgver=11.0.2
pkgrel=2
pkgdesc='A tool for analyzing the scenegraph of a JavaFX application'
arch=('i686' 'x86_64')
url='http://fxexperience.com/scenic-view/'
license=('GPL')
depends=('jre11-openjdk-headless' 'java11-openjfx')
source=("https://download.jonathangiles.net/downloads/scenic-view/scenicview-linux.zip"
        'scenic-view'
        'scenic-view.desktop')
sha256sums=('913cbbb3a86e4fa948a09247179eb0d740208a109f73316b135af0ebd938eedc'
            '69084d16a2aeb71dc08db67ccfc8d467d0508e7f76a2ba0043312ad534f0cd30'
            '7d1fb4e5a06a081b604e10acef772e809b0aa6a7c56edbfba8bce8af47cabd96')

prepare() {
  unzip -o scenicview-linux.zip
}

package() {
  install -Dm644 "$srcdir/scenicview/lib/scenicview.jar" "$pkgdir/usr/share/java/scenic-view/scenicview.jar"

  install -Dm755 scenic-view "$pkgdir/usr/bin/scenic-view"
  install -Dm644 scenic-view.desktop "$pkgdir/usr/share/applications/scenic-view.desktop"

  #install -Dm644 org/scenicview/view/images/ui/mglass.png "$pkgdir/usr/share/pixmaps/scenic-view.png"
}