summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Porte2016-12-27 11:09:31 +0100
committerRomain Porte2016-12-27 11:13:21 +0100
commit960db03846704ba54abf2a2eaea35ee30fb21ebd (patch)
tree5a403b1ff4dd6aefe332ee8cbf1bb25a3c61ac24
parentd8a37feea90471601304af6446ae37b8e44f1b89 (diff)
downloadaur-960db03846704ba54abf2a2eaea35ee30fb21ebd.tar.gz
Added desktop entry
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD22
-rw-r--r--vue.desktop8
-rw-r--r--vue.pngbin0 -> 5211 bytes
4 files changed, 32 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 29a7f00950c4..90ccaa771ecb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,3 @@
-# Generated by mksrcinfo v8
-# Thu Apr 7 19:23:10 UTC 2016
pkgbase = vue
pkgdesc = Visual Understanding Environment
pkgver = 3.3.0
@@ -8,11 +6,16 @@ pkgbase = vue
arch = any
license = unknown
depends = java-environment
+ depends = desktop-file-utils
noextract = VUE.jar
source = https://github.com/VUE/VUE/releases/download/3.3.0/VUE.jar
source = vue
+ source = vue.png
+ source = vue.desktop
md5sums = 4ac36729f42d000ac163add1b6c7a351
md5sums = af196991a58733c5c0742aace0439639
+ md5sums = 9369da34c69baefc77a7baeaceb4e476
+ md5sums = 3900bc2cfca99500f4dc38cda75ebd06
pkgname = vue
diff --git a/PKGBUILD b/PKGBUILD
index f2b0d635feb1..2971c69e3be5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,13 +7,29 @@ pkgdesc="Visual Understanding Environment"
arch=('any')
url="https://github.com/VUE/VUE"
license=('unknown')
-depends=('java-environment')
-source=(https://github.com/VUE/VUE/releases/download/$pkgver/VUE.jar vue)
+depends=('java-environment' 'desktop-file-utils')
+source=(https://github.com/VUE/VUE/releases/download/$pkgver/VUE.jar vue vue.png vue.desktop)
noextract=('VUE.jar')
-md5sums=('4ac36729f42d000ac163add1b6c7a351' 'af196991a58733c5c0742aace0439639')
+md5sums=('4ac36729f42d000ac163add1b6c7a351'
+ 'af196991a58733c5c0742aace0439639'
+ '9369da34c69baefc77a7baeaceb4e476'
+ '3900bc2cfca99500f4dc38cda75ebd06')
package() {
install -Dm755 VUE.jar $pkgdir/opt/$pkgname/VUE.jar
install -Dm755 vue $pkgdir/usr/bin/vue
+ install -Dm644 vue.png $pkgdir/opt/$pkgname/vue.png
+ install -Dm644 vue.desktop $pkgdir/usr/local/share/applications/vue.desktop
}
+
+post_install() {
+ update-desktop-database -q
+}
+
+post_remove() {
+ update-desktop-database -q
+}
+
+
+
diff --git a/vue.desktop b/vue.desktop
new file mode 100644
index 000000000000..6190c32a8fec
--- /dev/null
+++ b/vue.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Encoding=UTF-8
+Name=VUE
+Comment=Visual Understanding Environment
+Exec=vue
+Icon=/opt/vue/vue.png
+Terminal=false
diff --git a/vue.png b/vue.png
new file mode 100644
index 000000000000..95d53ffded4a
--- /dev/null
+++ b/vue.png
Binary files differ