mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add beast2
This commit is contained in:
parent
b2761cf5ae
commit
6e92cb85dc
7 changed files with 116 additions and 0 deletions
31
beast2/PKGBUILD
Normal file
31
beast2/PKGBUILD
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Maintainer: Malacology <guoyizhang at malacology dot com>
|
||||||
|
# Contributor: Malacology <guoyizhang at malacology dot com>
|
||||||
|
|
||||||
|
pkgname=beast2
|
||||||
|
pkgver=2.6.4
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Bayesian Evolutionary Analysis by Sampling Trees"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="http://www.beast2.org/"
|
||||||
|
license=('LGPL-2.1 License')
|
||||||
|
provides=("beast2")
|
||||||
|
source=("https://github.com/CompEvol/beast2/releases/download/v${pkgver}/BEAST.v${pkgver}.Linux.tgz" "beauti.desktop" "densitree.desktop" "logcombiner.desktop" "treeannotator.desktop")
|
||||||
|
sha256sums=('4f80e2920eb9d87f3e9f64433119774dc67aca390fbd13dd480f852e3f8701a4'
|
||||||
|
'83fba4c776fd29d6852c9c412c31d98bff657e2d2d2763dfe46d4c6174a9495f'
|
||||||
|
'40d86086691b6cb91d0af54e5dc53d6693e084242ff3cc77862650ca78667c3d'
|
||||||
|
'c2057c6ac656e13dcfbdf580a696bc79cb22c3d5270d546eac3e2fb42d620f20'
|
||||||
|
'960a2d9030105156e178fe8fd5a8329cf10af1e16141623da47f649f059906b0')
|
||||||
|
depends=(
|
||||||
|
'java-runtime'
|
||||||
|
)
|
||||||
|
package() {
|
||||||
|
install -dm755 "$pkgdir"/usr/{bin,share/{beast2,applications}}
|
||||||
|
mv "$srcdir"/beast/* "$pkgdir"/usr/share/beast2
|
||||||
|
|
||||||
|
ln -s /usr/share/beast2/bin/beauti ${pkgdir}/usr/bin/beauti
|
||||||
|
ln -s /usr/share/beast2/bin/logcombiner ${pkgdir}/usr/bin/logcombiner
|
||||||
|
ln -s /usr/share/beast2/bin/treeannotator ${pkgdir}/usr/bin/treeannotator
|
||||||
|
ln -s /usr/share/beast2/bin/densitree ${pkgdir}/usr/bin/densitree
|
||||||
|
|
||||||
|
install -m 755 ${srcdir}/*.desktop ${pkgdir}/usr/share/applications
|
||||||
|
}
|
16
beast2/beauti.desktop
Executable file
16
beast2/beauti.desktop
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Categories=
|
||||||
|
Encoding=UTF-8
|
||||||
|
Exec=/usr/share/beast2/bin/beauti
|
||||||
|
Icon=/usr/share/beast2/images/beauti.png
|
||||||
|
MimeType=
|
||||||
|
Name=beauti
|
||||||
|
ServiceTypes=
|
||||||
|
SwallowExec=
|
||||||
|
SwallowTitle=
|
||||||
|
Terminal=false
|
||||||
|
TerminalOptions=
|
||||||
|
Type=Application
|
||||||
|
X-KDE-SubstituteUID=false
|
||||||
|
X-KDE-Username=root
|
||||||
|
X-GNOME-UsesNotifications=true
|
18
beast2/densitree.desktop
Executable file
18
beast2/densitree.desktop
Executable file
|
@ -0,0 +1,18 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Categories=
|
||||||
|
Encoding=UTF-8
|
||||||
|
Exec=/usr/share/beast2/bin/densitree
|
||||||
|
GenericName=
|
||||||
|
GenericName[zh]=
|
||||||
|
Icon=/usr/share/beast2/images/DensiTree.png
|
||||||
|
MimeType=
|
||||||
|
Name=densitree
|
||||||
|
Name[zh]=densitree
|
||||||
|
ServiceTypes=
|
||||||
|
SwallowExec=
|
||||||
|
SwallowTitle=
|
||||||
|
Terminal=false
|
||||||
|
TerminalOptions=
|
||||||
|
Type=Application
|
||||||
|
X-KDE-SubstituteUID=false
|
||||||
|
X-KDE-Username=root
|
10
beast2/lilac.py
Normal file
10
beast2/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
beast2/lilac.yaml
Normal file
8
beast2/lilac.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
build_prefix: multilib
|
||||||
|
maintainers:
|
||||||
|
- github: starsareintherose
|
||||||
|
email: starsareintherose@outlook.com
|
||||||
|
update_on:
|
||||||
|
- source: github
|
||||||
|
github: CompEvol/beast2
|
||||||
|
use_latest_release: true
|
16
beast2/logcombiner.desktop
Executable file
16
beast2/logcombiner.desktop
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Categories=
|
||||||
|
Encoding=UTF-8
|
||||||
|
Exec=/usr/share/beast2/bin/logcombiner
|
||||||
|
Icon=/usr/share/beast2/images/beast.png
|
||||||
|
MimeType=
|
||||||
|
Name=logcombiner
|
||||||
|
Name[zh]=logcombiner
|
||||||
|
ServiceTypes=
|
||||||
|
SwallowExec=
|
||||||
|
SwallowTitle=
|
||||||
|
Terminal=false
|
||||||
|
TerminalOptions=
|
||||||
|
Type=Application
|
||||||
|
X-KDE-SubstituteUID=false
|
||||||
|
X-KDE-Username=root
|
17
beast2/treeannotator.desktop
Executable file
17
beast2/treeannotator.desktop
Executable file
|
@ -0,0 +1,17 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Categories=
|
||||||
|
Encoding=UTF-8
|
||||||
|
Exec=/usr/share/beast2/bin/treeannotator
|
||||||
|
GenericName=
|
||||||
|
GenericName[zh]=
|
||||||
|
Icon=/usr/share/beast2/images/beast.png
|
||||||
|
MimeType=
|
||||||
|
Name=treeannotator
|
||||||
|
ServiceTypes=
|
||||||
|
SwallowExec=
|
||||||
|
SwallowTitle=
|
||||||
|
Terminal=false
|
||||||
|
TerminalOptions=
|
||||||
|
Type=Application
|
||||||
|
X-KDE-SubstituteUID=false
|
||||||
|
X-KDE-Username=root
|
Loading…
Add table
Reference in a new issue