blob: aba8c04a7db6d6fc22467b7590b705fc9de0915d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Maintainer: Malacology <guoyizhang at malacology dot com>
# Contributor: Malacology <guoyizhang at malacology dot com>
pkgname=tracer-bin
_pkgname=Tracer
pkgver=1.7.2
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=('b263e803377a9ae7b377e6637a6734907fb9908265c5451c628286fa87a6d5e2'
'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
}
|