mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
orange: fix desktop icon
requested by Kiri
This commit is contained in:
parent
eef6d42f83
commit
737998c1fe
2 changed files with 5 additions and 1 deletions
|
@ -47,7 +47,9 @@ prepare() {
|
|||
# create execute file for /ure/bin
|
||||
printf '#!/usr/bin/sh\nexec python -m Orange.canvas' > ${pkgname}
|
||||
# fix desktop.entry
|
||||
sed -i 's/orange-canvas/orange/g' ${srcdir}/${_module}-${pkgver}/distribute/orange-canvas.desktop
|
||||
sed -e 's/Exec=orange-canvas/Exec=orange/' \
|
||||
-e 's|Icon=orange-canvas|Icon=/usr/share/icons/'"$pkgname"'.ico|' \
|
||||
-i "$_module-$pkgver/distribute/orange-canvas.desktop"
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
|
@ -11,6 +11,8 @@ update_on:
|
|||
- source: pypi
|
||||
pypi: Orange3
|
||||
- alias: python
|
||||
- source: manual
|
||||
manual: 1
|
||||
repo_depends:
|
||||
- python-orange-canvas-core
|
||||
- python-baycomp
|
||||
|
|
Loading…
Add table
Reference in a new issue