summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulo Matias2021-11-07 13:54:32 -0300
committerPaulo Matias2021-11-07 13:54:32 -0300
commit4e3a097e9ba09a7a168e65a1b19cc1b418bad460 (patch)
tree24484ab2e664daf756432c9376edd0b6558c5594
parent73fb54a37b64a9fe7534123f453c2231c5f320a9 (diff)
downloadaur-4e3a097e9ba09a7a168e65a1b19cc1b418bad460.tar.gz
add desktop file
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
-rw-r--r--bluespec-bdw.desktop8
3 files changed, 15 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8310802ba846..5265e95aac2d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -10,6 +10,8 @@ pkgbase = bluespec-bdw-git
depends = tk-itk3
optdepends = gtkwave-tcl: gtkwave integration
source = git+https://github.com/b-lang-org/bdw.git
+ source = bluespec-bdw.desktop
sha256sums = SKIP
+ sha256sums = f4ab26f8f7a2fdcc3c0bfbff39895fb5ceba79e468b72d138cc1178c9f9a62a1
pkgname = bluespec-bdw-git
diff --git a/PKGBUILD b/PKGBUILD
index bcd84f576206..390bfefe14da 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,8 +10,10 @@ license=('BSD')
depends=('bluespec-git' 'tk-itk3')
optdepends=('gtkwave-tcl: gtkwave integration')
makedepends=('git')
-source=("git+https://github.com/b-lang-org/bdw.git")
-sha256sums=('SKIP')
+source=('git+https://github.com/b-lang-org/bdw.git'
+ 'bluespec-bdw.desktop')
+sha256sums=('SKIP'
+ 'f4ab26f8f7a2fdcc3c0bfbff39895fb5ceba79e468b72d138cc1178c9f9a62a1')
_prefix="/opt/bluespec"
pkgver() {
@@ -41,4 +43,5 @@ package() {
done
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 "$srcdir/bluespec-bdw.desktop" '/usr/share/applications/bluespec-bdw.desktop'
}
diff --git a/bluespec-bdw.desktop b/bluespec-bdw.desktop
new file mode 100644
index 000000000000..d584adaae4a2
--- /dev/null
+++ b/bluespec-bdw.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Bluespec Workstation (BDW)
+Icon=/opt/bluespec/lib/tcllib/workstation/images/bDW.gif
+Type=Application
+Categories=Development;IDE;
+Exec=bdw %F
+StartupNotify=false
+Terminal=false