diff options
author | BioArchLinuxBot | 2023-05-06 15:46:30 +0000 |
---|---|---|
committer | BioArchLinuxBot | 2023-05-06 15:46:30 +0000 |
commit | b79e6471ebeb69b5b3a4749cac31eddbc826cef8 (patch) | |
tree | f4f46cf6afcd288c0b47a80fd500058c3a352bc2 /PKGBUILD | |
parent | f9923d935394d18cba474b1d03409334e4e16c09 (diff) | |
download | aur-spread.tar.gz |
[lilac] updated to 1.0.7-6
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 47 |
1 files changed, 24 insertions, 23 deletions
@@ -1,28 +1,29 @@ -# Maintainer: Malacology <guoyizhang at malacology dot com> -# Contributor: Malacology <guoyizhang at malacology dot com> +# Maintainer: Malacology <guoyizhang at malacology dot net> +# Contributor: Malacology <guoyizhang at malacology dot net> pkgname=spread +gitname=SPREADv1 pkgver=1.0.7 -_pkgver=1-0-7 -pkgrel=1 -depends=( - 'jre-openjdk-headless' - 'jre-openjdk' - 'jdk-openjdk' - 'openjdk-doc' - 'openjdk-src' -) -pkgdesc="a user-friendly application to analyze and visualize phylogeographic reconstructions resulting from Bayesian inference of spatio-temporal diffusion" -arch=('x86_64') -url="https://rega.kuleuven.be/cev/ecv/software/${pkgname}" -license=('custom') -source=("https://rega.kuleuven.be/cev/ecv/software/${pkgname}_files/${pkgname}-v${_pkgver}.jar" "${pkgname}.desktop") -sha256sums=('2807406ba184d78d4d62adf2aa868f3b22b80719eb740085b13067183c907e71' - 'a66b1681504a55e18926dd69cdcb8db13e6b76a9860b04c98cf2a881fd19aa09') - +_pkgver=${pkgver//./-} +pkgrel=6 +depends=('java-runtime=8') +makedepends=('java-environment=8' 'ant' 'gendesk') +pkgdesc="a user-friendly application to analyze and visualize phylogeographic reconstructions resulting from Bayesian inference of spatio-temporal diffusion. https://doi.org/10.1093/bioinformatics/btr481" +arch=('any') +url="https://github.com/phylogeography/$gitname" +license=('LGPL') +source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/${pkgver}.tar.gz") +sha256sums=('bc59b28d645379b39e7f750ae1105c8e517284c85ddf591cde5eef9f1b1b4882') +build() { + cd $gitname-$pkgver + ant jar + gendesk --pkgname "$pkgname" --pkgdesc "$pkgdesc" --exec="$pkgname" --icon="/usr/share/$pkgname/$pkgname.png" +} package() { - install -dm755 "$pkgdir"/usr/share/{applications,${pkgname}} - install -m 755 ${srcdir}/*.desktop ${pkgdir}/usr/share/applications - install -m 755 ${srcdir}/icons/${pkgname}.png ${pkgdir}/usr/share/${pkgname} - install -m 755 ${srcdir}/${pkgname}-v${_pkgver}.jar ${pkgdir}/usr/share/${pkgname}/${pkgname}.jar + cd $gitname-$pkgver + install -Dm 755 $pkgname.desktop ${pkgdir}/usr/share/applications/$pkgname.desktop + sed -i "s@\$SPREAD/lib@/usr/share/spread@g" release/Linux/scripts/$pkgname + install -Dm 755 release/Linux/scripts/$pkgname $pkgdir/usr/bin/$pkgname + install -Dm 755 release/Linux/icons/$pkgname.png ${pkgdir}/usr/share/${pkgname}/$pkgname.png + install -Dm 755 dist/$pkgname.jar ${pkgdir}/usr/share/${pkgname}/${pkgname}.jar } |