add phylosuite

This commit is contained in:
starsareintherose 2021-08-29 17:37:51 +08:00
parent d26e808fb6
commit c9bba3f298
5 changed files with 59 additions and 0 deletions

27
phylosuite/PKGBUILD Normal file
View file

@ -0,0 +1,27 @@
# Maintainer: malacology
# Contributor: malacology
pkgname=phylosuite
pkgver=1.2.2
pkgrel=1
pkgdesc="an integrated and scalable desktop platform for streamlined molecular sequence data management and evolutionary phylogenetics studies"
arch=('x86_64')
url="https://github.com/dongzhang0725/PhyloSuite"
license=('GPL3')
depends=(
'python>=3.6'
)
source=("https://github.com/dongzhang0725/PhyloSuite/releases/download/${pkgver}/PhyloSuite_v${pkgver}_Linux.tar.gz" "PhyloSuite.desktop" "PhyloSuite.png")
md5sums=('9d43b3b2b9b076071f29f7c8f0689bd5'
'29b089eb8ab6a37d184f74cdfd21c569'
'aca08e388f8d6a180a570b31ccebe764')
package() {
install -dm755 "$pkgdir"/usr/{bin/phylosuite,share/applications}
mv "$srcdir"/PhyloSuite/* "$pkgdir"/usr/bin/phylosuite
chmod -R 755 "$pkgdir"/usr/bin/phylosuite
chmod +x "$pkgdir"/usr/bin/phylosuite
"$pkgdir"/usr/bin/phylosuite/PhyloSuite
install -m 755 "$srcdir"/PhyloSuite.png "$pkgdir"/usr/bin/phylosuite/
install -m 755 "$srcdir"/PhyloSuite.desktop "$pkgdir"/usr/share/applications/
}

View file

@ -0,0 +1,13 @@
PhyloSuite
[Desktop Entry]
Name=PhyloSuite
MimeType=
Exec=/usr/bin/phylosuite/PhyloSuite
Type=Application
Terminal=true
Icon=/usr/bin/phylosuite/PhyloSuite.png
Comment=PhyloSuite
X-KDE-StartupNotify=false
Categories=System;
X-GNOME-UsesNotifications=true%

BIN
phylosuite/PhyloSuite.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

11
phylosuite/lilac.py Normal file
View file

@ -0,0 +1,11 @@
#!/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()

8
phylosuite/lilac.yaml Normal file
View file

@ -0,0 +1,8 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: starsareintherose@outlook.com
update_on:
- source: github
github: dongzhang0725/PhyloSuite
use_latest_release: true