summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Frankenau2016-04-03 15:59:29 +0200
committerJohannes Frankenau2016-04-03 15:59:29 +0200
commitf9be07c4d4f49326e12e7e25fae0a58d1656332c (patch)
tree49bf69141ec5761e20daaae9787695c3ce7210cb
parentf195a86fc08cb62ce89550868e7bcbfd06e21e1e (diff)
downloadaur-f9be07c4d4f49326e12e7e25fae0a58d1656332c.tar.gz
Add a desktop icon
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 8 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a0e6473f1cf1..c3a97804d3a5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = scenic-view
pkgdesc = A tool for analyzing the scenegraph of a JavaFX application
pkgver = 8.6.0
- pkgrel = 1
+ pkgrel = 2
url = http://fxexperience.com/scenic-view/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index f01668532d8f..5508e0d04956 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=scenic-view
pkgver=8.6.0
-pkgrel=1
+pkgrel=2
pkgdesc='A tool for analyzing the scenegraph of a JavaFX application'
arch=('i686' 'x86_64')
url='http://fxexperience.com/scenic-view/'
@@ -13,11 +13,15 @@ sha256sums=('cb62998437190fa0d52fe786594f71605673ba0983d12cd99a863d2d8c10e8aa'
'94f63cb15a84149c2bff3e1ff2644105e0c776a8c9510f7c95c645ca11a40eed'
'fe496d029e9a748c0ac30a2cb933a939af36874c36a4e07a35de24332858a285')
-package() {
- cd "$srcdir"
+prepare() {
+ jar xf ScenicView.jar
+}
+package() {
install -Dm644 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"
}