mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add tempest
This commit is contained in:
parent
ff3a0cf436
commit
4e473afb80
4 changed files with 61 additions and 0 deletions
25
tempest/PKGBUILD
Normal file
25
tempest/PKGBUILD
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# Maintainer: Malacology <guoyizhang at malacology dot com>
|
||||||
|
# Contributor: Malacology <guoyizhang at malacology dot com>
|
||||||
|
|
||||||
|
pkgname=tempest
|
||||||
|
pkgver=1.5.3
|
||||||
|
pkgrel=1
|
||||||
|
depends=(
|
||||||
|
'java-runtime'
|
||||||
|
)
|
||||||
|
pkgdesc="a tool for investigating the temporal signal and 'clocklikeness' of molecular phylogenies"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="http://tree.bio.ed.ac.uk/software/tempest/"
|
||||||
|
license=('GPL2')
|
||||||
|
source=("http://tree.bio.ed.ac.uk/download.php?id=102&num=3" "tempest.desktop")
|
||||||
|
sha256sums=('83e482a7ba946e38606cc3331765db45b4331337d92d030ebeb537e3e16fa44e'
|
||||||
|
'2af28c04f9d96f046947efeab28c27552be88ac56af0d8f1a0db2e439a228c45')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
install -dm755 "$pkgdir"/usr/{bin,share/{applications,tempest}}
|
||||||
|
install -m 755 ${srcdir}/*.desktop ${pkgdir}/usr/share/applications
|
||||||
|
mv ${srcdir}/TempEst_v${pkgver}/* ${pkgdir}/usr/share/tempest
|
||||||
|
chmod +x ${pkgdir}/usr/share/tempest/bin/tempest
|
||||||
|
ln -s /usr/share/tempest/bin/tempest ${pkgdir}/usr/bin/tempest
|
||||||
|
}
|
||||||
|
|
10
tempest/lilac.py
Executable file
10
tempest/lilac.py
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/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
tempest/lilac.yaml
Normal file
8
tempest/lilac.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: starsareintherose
|
||||||
|
email: starsareintherose@outlook.com
|
||||||
|
update_on:
|
||||||
|
- source: regex
|
||||||
|
url: http://tree.bio.ed.ac.uk/software/tempest/
|
||||||
|
regex: TempEst_v(\d+.\d+.\d).tgz
|
18
tempest/tempest.desktop
Normal file
18
tempest/tempest.desktop
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Categories=
|
||||||
|
Encoding=UTF-8
|
||||||
|
Exec=java -jar /usr/share/tempest/lib/tempest.jar
|
||||||
|
GenericName=
|
||||||
|
GenericName[zh]=
|
||||||
|
Icon=/usr/share/tempest/images/tempest.png
|
||||||
|
MimeType=
|
||||||
|
Name=TempEst
|
||||||
|
ServiceTypes=
|
||||||
|
SwallowExec=
|
||||||
|
SwallowTitle=
|
||||||
|
Terminal=false
|
||||||
|
TerminalOptions=
|
||||||
|
Type=Application
|
||||||
|
X-KDE-SubstituteUID=false
|
||||||
|
X-KDE-Username=root
|
||||||
|
|
Loading…
Add table
Reference in a new issue