diff options
author | Romain Bazile | 2016-10-18 14:48:45 +0200 |
---|---|---|
committer | Romain Bazile | 2016-10-18 14:48:45 +0200 |
commit | 42df0da3f79dc98d4679987512f8825aed8854e4 (patch) | |
tree | a9e94dc72cb6000e2142c27a08663e2533aaecdf | |
download | aur-42df0da3f79dc98d4679987512f8825aed8854e4.tar.gz |
initial release of lhc dashboard, using Electron.
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 51 | ||||
-rw-r--r-- | lhc-dashboard-desktop.desktop | 12 | ||||
-rw-r--r-- | lhc-dashboard-desktop.png | bin | 0 -> 31008 bytes | |||
-rw-r--r-- | lhc-dashboard-desktop.sh | 2 |
5 files changed, 85 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d9f2e1b6cf27 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = lhc-dashboard-desktop + pkgdesc = LHC Dashboard for desktop. Uses Electron, v1.4.3 + pkgver = 1.4.3 + pkgrel = 1 + url = https://lhcdashboard.web.cern.ch/ + arch = i686 + arch = x86_64 + license = unknown + makedepends = nodejs-nativefier + provides = lhc-dashboard-desktop + options = !strip + source = lhc-dashboard-desktop.png + source = lhc-dashboard-desktop.desktop + source = lhc-dashboard-desktop.sh + sha512sums = 27f2254ea42e5930aae679a682396580b415cae10ea36c895221bb2001100c22521394ca5cfba9c30d3784192a266469d41f0b9546f79c0ec04caaee9f9f2958 + sha512sums = 73cb5738e3f1a4d4cd307677bb3f908300362b01d5c8764fdb0bb81f79ab2f4ff958bf8bdf4bfc37606180d19864416c317c99953a088e2e6d4079159c98acb6 + sha512sums = 25f1d8d850772eb65bbad5d0bf2fc9f900ac9fe9c0e3bb180a9066324befba445d715f6db67fe2916aa94c02a8a6dd18dc17fc768247eea4a02310ccf21efd67 + +pkgname = lhc-dashboard-desktop + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4f8c9f728f10 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: tembleking <tembleking at gmail dot com> +pkgname=lhc-dashboard-desktop +pkgver=1.4.3 +pkgrel=1 +pkgdesc="LHC Dashboard for desktop. Uses Electron, v1.4.3" +arch=('i686' 'x86_64') +url="https://lhcdashboard.web.cern.ch/" +license=('unknown') +makedepends=('nodejs-nativefier') +provides=('lhc-dashboard-desktop') +source=('lhc-dashboard-desktop.png' + 'lhc-dashboard-desktop.desktop' + 'lhc-dashboard-desktop.sh') + +sha512sums=('27f2254ea42e5930aae679a682396580b415cae10ea36c895221bb2001100c22521394ca5cfba9c30d3784192a266469d41f0b9546f79c0ec04caaee9f9f2958' + '73cb5738e3f1a4d4cd307677bb3f908300362b01d5c8764fdb0bb81f79ab2f4ff958bf8bdf4bfc37606180d19864416c317c99953a088e2e6d4079159c98acb6' + '25f1d8d850772eb65bbad5d0bf2fc9f900ac9fe9c0e3bb180a9066324befba445d715f6db67fe2916aa94c02a8a6dd18dc17fc768247eea4a02310ccf21efd67') + +options=('!strip') + +build() { + cd $srcdir + # op-webtools.web.cern.ch/Vistar/vistars.php + nativefier lhcdashboard.web.cern.ch \ + --name "lhc-dashboard" \ + --disable-context-menu \ + --disable-dev-tools \ + --width 720px \ + --height 720px \ + --min-width 720px \ + --min-height 720px \ + -i "../$pkgname.png" + + rm -rf lhc-dashboard + mv lhc-dashboard-linux* lhc-dashboard +} + +package() { + install -dm755 "$pkgdir/opt/lhc-dashboard" + install -dm755 "$pkgdir/usr/bin/" + install -dm755 "$pkgdir/usr/share/pixmaps/" + install -dm755 "$pkgdir/usr/share/applications/" + + cp -R "$srcdir/lhc-dashboard/." "$pkgdir/opt/lhc-dashboard/" + chmod 755 "$pkgdir/opt/lhc-dashboard/resources/app" + + install -Dm755 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" + install -Dm755 "$srcdir/$pkgname.png" "$pkgdir/usr/share/pixmaps/lhc-dashboard.png" + install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname" +} + diff --git a/lhc-dashboard-desktop.desktop b/lhc-dashboard-desktop.desktop new file mode 100644 index 000000000000..9e6d542bb73e --- /dev/null +++ b/lhc-dashboard-desktop.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Name=LHC Dashboard +Comment=Desktop version of the LHC Dashboard +Exec=lhc-dashboard +StartupWMClass=lhc-dashboard +Icon=lhc-dashboard +Terminal=false +Type=Application +Categories=Network; +X-Desktop-File-Install-Version=0.22 diff --git a/lhc-dashboard-desktop.png b/lhc-dashboard-desktop.png Binary files differnew file mode 100644 index 000000000000..e04948029ff8 --- /dev/null +++ b/lhc-dashboard-desktop.png diff --git a/lhc-dashboard-desktop.sh b/lhc-dashboard-desktop.sh new file mode 100644 index 000000000000..8166078229f3 --- /dev/null +++ b/lhc-dashboard-desktop.sh @@ -0,0 +1,2 @@ +#!/bin/sh +/opt/lhc-dashboard/lhc-dashboard |