*: polish desktop

This commit is contained in:
Kuoi 2023-04-05 02:56:54 +08:00
parent 294d9d5275
commit 5109fe2c38
51 changed files with 254 additions and 122 deletions

View file

@ -1,7 +1,7 @@
[Desktop Entry]
Categories=
Encoding=UTF-8
Exec=beauti
Exec=beauti %U
Icon=beauti
MimeType=
Name=beauti

View file

@ -1,7 +1,7 @@
[Desktop Entry]
Categories=
Encoding=UTF-8
Exec=loganalyser
Exec=loganalyser %U
Icon=utility
MimeType=
Name=loganalyser

View file

@ -1,7 +1,7 @@
[Desktop Entry]
Categories=
Encoding=UTF-8
Exec=logcombiner
Exec=logcombiner %U
Icon=utility
MimeType=
Name=logcombiner

View file

@ -1,7 +1,7 @@
[Desktop Entry]
Categories=
Encoding=UTF-8
Exec=treeannotator
Exec=treeannotator %U
GenericName=
GenericName[zh]=
Icon=utility

View file

@ -1,7 +1,7 @@
[Desktop Entry]
Categories=
Encoding=UTF-8
Exec=treestat
Exec=treestat %U
Icon=TreeStat
MimeType=
Name=treestat

View file

@ -1,7 +1,7 @@
[Desktop Entry]
Categories=
Encoding=UTF-8
Exec=beast
Exec=beast %U
GenericName=
GenericName[zh]=
Icon=beast

View file

@ -1,7 +1,7 @@
[Desktop Entry]
Categories=
Encoding=UTF-8
Exec=beast2-applauncher
Exec=beast2-applauncher %U
Icon=/usr/share/beast2/images/beast.png
MimeType=
Name=applauncher

View file

@ -1,7 +1,7 @@
[Desktop Entry]
Categories=
Encoding=UTF-8
Exec=beast2
Exec=beast2 %U
Icon=/usr/share/beast2/images/beast.png
MimeType=
Name=beast2

View file

@ -1,7 +1,7 @@
[Desktop Entry]
Categories=
Encoding=UTF-8
Exec=beast2-beauti
Exec=beast2-beauti %U
Icon=/usr/share/beast2/images/beauti.png
MimeType=
Name=beauti

View file

@ -1,7 +1,7 @@
[Desktop Entry]
Categories=
Encoding=UTF-8
Exec=beast2-densitree
Exec=beast2-densitree %U
GenericName=
GenericName[zh]=
Icon=/usr/share/beast2/images/DensiTree.png

View file

@ -1,11 +0,0 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
def post_build():
git_add_files('PKGBUILD')
git_commit()
update_aur_repo()

View file

@ -1,7 +1,10 @@
build_prefix: multilib
pre_build_script: |
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
post_build_script: |
git_pkgbuild_commit()
update_aur_repo
git_pkgbuild_commit()
update_aur_repo()
maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org

View file

@ -1,7 +1,7 @@
[Desktop Entry]
Categories=
Encoding=UTF-8
Exec=beast2-loganalyser
Exec=beast2-loganalyser %U
Icon=/usr/share/beast2/images/beast.png
MimeType=
Name=loganalyser

View file

@ -1,7 +1,7 @@
[Desktop Entry]
Categories=
Encoding=UTF-8
Exec=beast2-logcombiner
Exec=beast2-logcombiner %U
Icon=/usr/share/beast2/images/beast.png
MimeType=
Name=logcombiner

View file

@ -1,7 +1,7 @@
[Desktop Entry]
Categories=
Encoding=UTF-8
Exec=beast2-treeannotator
Exec=beast2-treeannotator %U
GenericName=
GenericName[zh]=
Icon=/usr/share/beast2/images/beast.png

View file

@ -3,7 +3,7 @@ Version=1.0
Encoding=UTF-8
Name=Cytoscape
GenericName=Cytoscape
Exec=cytoscape
Exec=cytoscape %U
Terminal=false
Icon=cytoscape
Type=Application

View file

@ -1,10 +0,0 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
def post_build():
git_add_files('PKGBUILD')
git_commit()

View file

@ -2,6 +2,11 @@ build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
pre_build_script: |
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
post_build_script: |
git_pkgbuild_commit()
update_on:
- source: github
github: cytoscape/cytoscape

View file

@ -3,7 +3,7 @@ Type=Application
Name=FigTree
GenericName=Phylogenetic tree viewer
Comment=Graphical viewer of phylogenetic trees
Exec=figtree
Exec=figtree %U
Icon=figtree
Terminal=false
Categories=Education;Science;

View file

@ -1,7 +1,7 @@
[Desktop Entry]
Name=Free Delta Editor
Version=1.0
Exec=fde
Exec=fde %U
Comment=A software package for building taxonomic databases
Icon=fde.png
Type=Application

View file

@ -2,7 +2,7 @@
Encoding=UTF-8
Version=1.0
Name=Garlic
Exec=garlic
Exec=garlic %U
Icon=garlic
Terminal=false
Type=Application

View file

@ -1,11 +0,0 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
def post_build():
git_add_files('PKGBUILD')
git_commit()
update_aur_repo()

View file

@ -2,6 +2,12 @@ build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
pre_build_script: |
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- regex: http://www.zucic.org/sources/garlic-(\d+.\d+)
source: regex

View file

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Application
Name=IBS
Exec=ibs
Exec=ibs %U
Icon=ibs
Categories=Science

View file

@ -23,4 +23,5 @@ package() {
chmod 755 -R ../pkg/${pkgname}/usr
cp -r ../pkg/${pkgname}/usr/local/* ../pkg/${pkgname}/usr/
rm -r ../pkg/${pkgname}/usr/local
sed -i '/^Exec/ s/$/ %U/' $pkgdir/usr/share/applicaions/mega.desktop
}

View file

@ -1,11 +0,0 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
def post_build():
git_add_files('PKGBUILD')
git_commit()
update_aur_repo()

View file

@ -2,8 +2,12 @@ build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
pre_build_script: aur_pre_build(maintainers='malacology')
post_build: aur_post_build
pre_build_script: |
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- source: regex
url: "https://www.megasoftware.net/history"

View file

@ -3,7 +3,7 @@ Type=Application
Version=1.0
Name=Mesquite
Comment=A modular, extendible software for evolutionary biology, designed to help biologists organize and analyze comparative data about organisms.
Exec=mesquite
Exec=mesquite %U
Icon=mesquite
Terminal=false
Categories=Java;Education;Science;Biology;

View file

@ -1,11 +0,0 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
def post_build():
git_add_files('PKGBUILD')
git_commit()
update_aur_repo()

View file

@ -2,6 +2,12 @@ build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
pre_build_script: |
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- source: regex
url: http://abacus.gene.ucl.ac.uk/software/paml.html

View file

@ -1,7 +1,7 @@
[Desktop Entry]
Categories=
Encoding=UTF-8
Exec=pamlX
Exec=pamlX %U
GenericName=pamlX
Icon=/usr/share/icons/pamlX.png
MimeType=

View file

@ -2,7 +2,7 @@ PhyloSuite
[Desktop Entry]
Name=PhyloSuite
MimeType=
Exec=/usr/bin/phylosuite/PhyloSuite
Exec=/usr/bin/phylosuite/PhyloSuite %U
Type=Application
Terminal=true
Icon=/usr/bin/phylosuite/PhyloSuite.png

View file

@ -1,12 +0,0 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
def post_build():
git_add_files('PKGBUILD')
git_commit()
update_aur_repo()

View file

@ -2,6 +2,12 @@ build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
pre_build_script: |
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- source: github
github: dongzhang0725/PhyloSuite

View file

@ -3,7 +3,6 @@ maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
post_build_script: |
git_pkgbuild_commit()
git_pkgbuild_commit()
update_aur_repo()
update_on:

View file

@ -1,7 +1,7 @@
[Desktop Entry]
Categories=
Encoding=UTF-8
Exec=/usr/share/popart/popart
Exec=/usr/share/popart/popart %U
GenericName=
GenericName[zh]=
Icon=/usr/share/popart/icons/popart.icns

View file

@ -1,11 +0,0 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
def post_build():
git_add_files('PKGBUILD')
git_commit()
update_aur_repo()

View file

@ -2,6 +2,12 @@ build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
pre_build_script: |
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- source: regex
url: http://doua.prabi.fr/software/seaview

View file

@ -1,6 +1,6 @@
[Desktop Entry]
Name=SeqDistK
Exec=SeqDistK
Exec=SeqDistK %U
Type=Application
StartupNotify=true
Icon=SeqDistK

View file

@ -13,9 +13,16 @@ depends=('staden-io_lib' 'tklib>=0.7' 'tklib<0.8')
optdepends=('iwidgets: gap5 prefinish'
'xz: better gap5 compression'
'libpng: gap5 Report Mutations')
source=(http://downloads.sourceforge.net/staden/$_pkgname.tar.gz)
source=(http://downloads.sourceforge.net/staden/$_pkgname.tar.gz
gap4.desktop gap5.desktop pregap4.desktop spin.desktop trev.desktop icon4bl.svg)
options=('!emptydirs')
sha256sums=('cd7ee17626c25bc845ebd3f6311b5a538815fb73a0dfef2393001bf579ac9649')
sha256sums=('cd7ee17626c25bc845ebd3f6311b5a538815fb73a0dfef2393001bf579ac9649'
'9a2f76c39b3c9a2b41fc57e50f8ef049eef9f8004e997e84d926169331e0b4c1'
'38f4a07764f2152e60fd1d4eb7ad3900de1fae9e53cf455d23a738f61276e2fc'
'2a25fa231761e4dd8e03112eb0d4f5eab871aa068eebc21e2e4e011905c30a63'
'468b38fef620ab2f6ce1b5567656cf24baa25685bde8fb4b881c198abc1bbbfb'
'867b1935523544775acbebe6fe635d521f4d7c3ed8821e110afaaba3685597f2'
'f15cf251d73ebb30fa6d2a1ea73fa5bdfa19e49165364720c30fd6e23d2d665a')
build() {
cd $_pkgname
@ -26,4 +33,9 @@ build() {
package() {
cd $_pkgname
make DESTDIR="$pkgdir" install
for gui in gap4 gap5 pregap4 spin trev
do
install -Dm 755 $srcdir/$gui.desktop $pkgdir/usr/share/applications/$gui.desktop
done
install -Dm 644 $srcdir/icon4bl.svg $pkgdir/usr/share/icons/icon4bl.svg
}

View file

@ -0,0 +1,11 @@
[Desktop Entry]
Name=gap4
Comment=Staden gap4 assembly editor
Exec=gap4
Icon=/usr/share/icons/icon4bl.svg
Terminal=false
Type=Application
Categories=Biology;Science
#Help out Unity:
#WM_CLASS(STRING) = "gap.tcl", "Gap.tcl"
StartupWMClass=gap.tcl

View file

@ -0,0 +1,11 @@
[Desktop Entry]
Name=gap5
Comment=Staden gap5 assembly editor
Exec=gap5
Icon=/usr/share/icons/icon4bl.svg
Terminal=false
Type=Application
Categories=Biology;Science
#Help out Unity:
#WM_CLASS(STRING) = "Gap5", "Gap5.tcl"
StartupWMClass=Gap5

View file

@ -0,0 +1,92 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.1"
width="212.09375"
height="212.09375"
id="svg2">
<defs
id="defs4" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
transform="translate(-479.84375,-659.9375)"
id="layer1">
<g
id="g3071">
<rect
width="200.01021"
height="200.01021"
x="485.88336"
y="665.97876"
id="rect2996"
style="fill:#1d2e5c;fill-opacity:1;stroke:#ffffff;stroke-width:0.1;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<text
x="342.81421"
y="1008.4017"
transform="scale(1.4262496,0.70113956)"
id="text2998"
xml:space="preserve"
style="font-size:44.54133606px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;font-family:cmr10;-inkscape-font-specification:cmr10"><tspan
x="342.81421"
y="1008.4017"
id="tspan3000">GAP</tspan></text>
<text
x="377.38846"
y="1059.8674"
transform="scale(1.4262496,0.70113956)"
id="text2998-9"
xml:space="preserve"
style="font-size:44.54133606px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;font-family:cmr10;-inkscape-font-specification:cmr10"><tspan
x="377.38846"
y="1059.8674"
id="tspan3000-5">GAP</tspan></text>
<text
x="378.09671"
y="-1074.4698"
transform="scale(1.4262496,-0.70113956)"
id="text2998-1"
xml:space="preserve"
style="font-size:44.54133606px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;font-family:cmr10;-inkscape-font-specification:cmr10"><tspan
x="378.09671"
y="-1074.4698"
id="tspan3000-7">GAP</tspan></text>
<text
x="345.17697"
y="-1123.3066"
transform="scale(1.4262496,-0.70113956)"
id="text2998-2"
xml:space="preserve"
style="font-size:44.54133606px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;font-family:cmr10;-inkscape-font-specification:cmr10"><tspan
x="345.17697"
y="-1123.3066"
id="tspan3000-4">GAP</tspan></text>
<text
x="379.51324"
y="1199.0995"
transform="scale(1.4262496,0.70113956)"
id="text2998-4-1"
xml:space="preserve"
style="font-size:44.54133606px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;font-family:cmr10;-inkscape-font-specification:cmr10"><tspan
x="379.51324"
y="1199.0995"
id="tspan3000-1-3">GAP</tspan></text>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4 KiB

View file

@ -1,10 +0,0 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
def post_build():
git_add_files('PKGBUILD')
git_commit()

View file

@ -2,6 +2,11 @@ maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
build_prefix: extra-x86_64
pre_build_script: |
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
post_build_script: |
git_pkgbuild_commit()
update_on:
- source: regex
url: "https://sourceforge.net/projects/staden/files/staden/"

View file

@ -0,0 +1,11 @@
[Desktop Entry]
Name=pregap4
Comment=Staden pregap4 DNA preprocessor
Exec=pregap4
Icon=/usr/share/icons/icon4bl.svg
Terminal=false
Type=Application
Categories=Biology;Science
#Help out Unity:
#WM_CLASS(STRING) = "pregap4.tcl", "Pregap4.tcl"
StartupWMClass=pregap4.tcl

View file

@ -0,0 +1,11 @@
[Desktop Entry]
Name=spin
Comment=Staden editing and analysis tools
Exec=spin %U
Icon=/usr/share/icons/icon4bl.svg
Terminal=false
Type=Application
Categories=Biology;Science
#Help out Unity:
#WM_CLASS(STRING) = "gap.tcl", "Gap.tcl"
StartupWMClass=spin.tcl

View file

@ -0,0 +1,11 @@
[Desktop Entry]
Name=trev
Comment=Staden trev program
Exec=trev
Icon=/usr/share/icons/icon4bl.svg
Terminal=false
Type=Application
Categories=Biology;Science
#Help out Unity
#WM_CLASS(STRING) = "trev.tcl", "Trev.tcl"
StartupWMClass=trev.tcl

View file

@ -5,5 +5,5 @@ Comment=GUI/CommandLine Tool Box for biologistists to utilize NGS data.
Terminal=false
Icon=tbtools
Type=Application
Exec=tbtools
Exec=tbtools %U
Categories=Education;Science;

View file

@ -9,14 +9,18 @@ pkgdesc="Tree analysis using New Technology. https://doi.org/10.1111/cla.12160"
arch=('x86_64')
url="http://www.lillo.org.ar/phylogeny/tnt/"
license=('custom')
makedepends=('unzip')
makedepends=('unzip' 'gzip')
depends=('ncurses5-compat-libs')
source=("http://www.lillo.org.ar/phylogeny/tnt/tnt-linux.zip")
sha256sums=('88f818da01b425c0ac03fdbe5ce521d9e33c163b37546ab29042b613383ac708')
source=("http://www.lillo.org.ar/phylogeny/tnt/tnt-linux.zip"
"gTNT.desktop")
sha256sums=('9bdc47aa9753057700cd57f0a1a4f92fe155fe41a20c5a7f1e4594ab5e1c9e74'
'9ce723f975e9b9a99ad45a4b2f929e7ed198b51499325b1a4c4df38d90b030e0')
prepare () {
cd $srcdir/TNT-Docs_n_Datasets
chmod a+r $srcdir/TNT-Docs_n_Datasets -R
unzip tnt_scripts.zip -d ./tnt_scripts
cd $srcdir/TNT-files
gzip TNT.1
}
package_tnt () {
depends=('ncurses5-compat-libs' 'glibc')
@ -36,6 +40,9 @@ package_tnt-gui () {
cd ${srcdir}/TNT-bin
chmod +x gTNT
install -Dm 755 gTNT ${pkgdir}/usr/bin/gTNT
cd ${srcdir}/TNT-files
install -Dm 755 TNT-icon-linux.png $pkgdir/usr/share/icons/gTNT.png
install -Dm 755 $srcdir/gTNT.desktop $pkgdir/usr/share/applications/gTNT.desktop
}
package_tnt-extra () {
install -dm755 $pkgdir/usr/share/tnt/
@ -43,7 +50,11 @@ package_tnt-extra () {
cd $srcdir/
# PDF
install -Dm 755 README_FIRST.pdf $pkgdir/usr/share/tnt/
# manual
cd $srcdir/TNT-files
install -Dm 755 TNT.1.gz $pkgdir/usr/share/man/man1/TNT.1.gz
cd $srcdir/TNT-Docs_n_Datasets
# script
mv $srcdir/TNT-Docs_n_Datasets/tnt_scripts $pkgdir/usr/share/tnt/

View file

@ -0,0 +1,8 @@
[Desktop Entry]
X-Desktop-File-Install-Version=0.26
Name=gTNT
Comment=TNT with GUI
Icon=/usr/share/icons/gTNT.png
Categories=Science
Exec=gTNT %f
Type=Application