diff --git a/phylosuite/PKGBUILD b/phylosuite/PKGBUILD new file mode 100644 index 0000000000..b8a02956bc --- /dev/null +++ b/phylosuite/PKGBUILD @@ -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/ +} diff --git a/phylosuite/PhyloSuite.desktop b/phylosuite/PhyloSuite.desktop new file mode 100644 index 0000000000..99d1d99c18 --- /dev/null +++ b/phylosuite/PhyloSuite.desktop @@ -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% + diff --git a/phylosuite/PhyloSuite.png b/phylosuite/PhyloSuite.png new file mode 100755 index 0000000000..e77f60360c Binary files /dev/null and b/phylosuite/PhyloSuite.png differ diff --git a/phylosuite/lilac.py b/phylosuite/lilac.py new file mode 100644 index 0000000000..8a6e65aeba --- /dev/null +++ b/phylosuite/lilac.py @@ -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() diff --git a/phylosuite/lilac.yaml b/phylosuite/lilac.yaml new file mode 100644 index 0000000000..d7f24e0045 --- /dev/null +++ b/phylosuite/lilac.yaml @@ -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