mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add raxmlgui
This commit is contained in:
parent
978f0b65d9
commit
4e08361002
4 changed files with 65 additions and 0 deletions
29
raxmlgui/PKGBUILD
Normal file
29
raxmlgui/PKGBUILD
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Maintainer: Malacology <guoyizhang at malacology dot com>
|
||||
# Contributor: Malacology <guoyizhang at malacology dot com>
|
||||
|
||||
pkgname=raxmlgui
|
||||
pkgver=2.0.5
|
||||
pkgrel=1
|
||||
pkgdesc="A new user-friendly program integrating RAxML-NG and ModelTest-NG for cutting-edge phylogenetic analysis"
|
||||
arch=('x86_64')
|
||||
url="https://antonellilab.github.io/raxmlGUI"
|
||||
provides=("raxmlgui")
|
||||
license=('AGPL3')
|
||||
source=("https://github.com/AntonelliLab/raxmlGUI/releases/download/v${pkgver}/raxmlGUI-${pkgver}.AppImage" "raxmlgui.desktop")
|
||||
sha256sums=('4bf56ed2728fc0d6f68f9ef6b8cda987cb3a37742e9925a3d276aa43cf021db5'
|
||||
'0925bc8e4ae1d0fb7fbe5a5605cda7c044d8f8bda99b556dd54bd55ba7b3b0c5')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}"
|
||||
chmod +x raxmlGUI-${pkgver}.AppImage
|
||||
./raxmlGUI-${pkgver}.AppImage --appimage-extract
|
||||
}
|
||||
|
||||
package() {
|
||||
|
||||
install -dm755 "$pkgdir"/usr/{bin,share/${pkgname}}
|
||||
mv ${srcdir}/squashfs-root/* "${pkgdir}/usr/share/$pkgname"
|
||||
chmod +x $pkgdir/usr/share/$pkgname/$pkgname
|
||||
ln -s /usr/share/$pkgname/$pkgname $pkgdir/usr/bin/$pkgname
|
||||
install -D -m 755 ${srcdir}/raxmlgui.desktop ${pkgdir}/usr/share/applications/raxmlgui.desktop
|
||||
}
|
10
raxmlgui/lilac.py
Normal file
10
raxmlgui/lilac.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/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()
|
8
raxmlgui/lilac.yaml
Normal file
8
raxmlgui/lilac.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
build_prefix: multilib
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: starsareintherose@outlook.com
|
||||
update_on:
|
||||
- source: github
|
||||
github: AntonelliLab/raxmlGUI
|
||||
use_latest_release: true
|
18
raxmlgui/raxmlgui.desktop
Normal file
18
raxmlgui/raxmlgui.desktop
Normal file
|
@ -0,0 +1,18 @@
|
|||
[Desktop Entry]
|
||||
Categories=
|
||||
Encoding=UTF-8
|
||||
Exec=/usr/share/raxmlgui/raxmlgui
|
||||
GenericName=
|
||||
GenericName[zh]=
|
||||
Icon=/usr/share/raxmlgui/raxmlgui.png
|
||||
MimeType=
|
||||
Name=raxmlGUI
|
||||
Name[zh]=raxmlGUI
|
||||
ServiceTypes=
|
||||
SwallowExec=
|
||||
SwallowTitle=
|
||||
Terminal=false
|
||||
TerminalOptions=
|
||||
Type=Application
|
||||
X-KDE-SubstituteUID=false
|
||||
X-KDE-Username=root%
|
Loading…
Add table
Reference in a new issue