mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add tracer
This commit is contained in:
parent
7fc11309fc
commit
2ce788c82c
4 changed files with 53 additions and 0 deletions
24
tracer/PKGBUILD
Normal file
24
tracer/PKGBUILD
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Maintainer: Malacology <guoyizhang at malacology dot com>
|
||||
# Contributor: Malacology <guoyizhang at malacology dot com>
|
||||
|
||||
pkgname=tracer
|
||||
_pkgname=Tracer
|
||||
pkgver=1.7.1
|
||||
pkgrel=1
|
||||
pkgdesc="Posterior summarisation in Bayesian phylogenetics"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/beast-dev/tracer"
|
||||
license=('unknown')
|
||||
source=("https://github.com/beast-dev/tracer/releases/download/v${pkgver}/Tracer_v${pkgver}.tgz" "tracer.desktop")
|
||||
sha256sums=('200d7ffa1e48994b71245994e299847ac2be72d3d5c37d9048418557e1d8c12e'
|
||||
'07c099a1d34b4718d46e083b98cf9352e50d81ee6cb7346544cd9d1248f02ea8')
|
||||
depends=(
|
||||
'java-runtime'
|
||||
)
|
||||
package() {
|
||||
install -dm755 "$pkgdir"/usr/{bin,share/{${_pkgname},applications}}
|
||||
mv ${srcdir}/Tracer_v${pkgver}/* ${pkgdir}/usr/share/${_pkgname}
|
||||
ln -s /usr/share/Tracer/bin/tracer ${pkgdir}/usr/bin/tracer
|
||||
|
||||
install -m 755 ${srcdir}/tracer.desktop ${pkgdir}/usr/share/applications/tracer.desktop
|
||||
}
|
10
tracer/lilac.py
Normal file
10
tracer/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
tracer/lilac.yaml
Normal file
8
tracer/lilac.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: starsareintherose@outlook.com
|
||||
update_on:
|
||||
- source: github
|
||||
github: beast-dev/tracer
|
||||
use_latest_release: true
|
11
tracer/tracer.desktop
Normal file
11
tracer/tracer.desktop
Normal file
|
@ -0,0 +1,11 @@
|
|||
[Desktop Entry]
|
||||
Name=Tracer
|
||||
MimeType=
|
||||
Exec=java -jar /usr/share/Tracer/lib/tracer.jar
|
||||
Type=Application
|
||||
Terminal=flase
|
||||
Icon=/usr/share/Tracer/images/Tracer.png
|
||||
Comment=Tracer
|
||||
X-KDE-StartupNotify=false
|
||||
Categories=System;
|
||||
X-GNOME-UsesNotifications=true
|
Loading…
Add table
Reference in a new issue