mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add spread
This commit is contained in:
parent
be0846b0a0
commit
f4f2b19530
4 changed files with 65 additions and 0 deletions
28
spread/PKGBUILD
Normal file
28
spread/PKGBUILD
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Maintainer: Malacology <guoyizhang at malacology dot com>
|
||||
# Contributor: Malacology <guoyizhang at malacology dot com>
|
||||
|
||||
pkgname=spread
|
||||
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')
|
||||
|
||||
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
|
||||
}
|
10
spread/lilac.py
Executable file
10
spread/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
spread/lilac.yaml
Normal file
8
spread/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: https://rega.kuleuven.be/cev/ecv/software/spread
|
||||
regex: SPREAD(\s+v\d+.\d+.\d+).jar
|
19
spread/spread.desktop
Normal file
19
spread/spread.desktop
Normal file
|
@ -0,0 +1,19 @@
|
|||
[Desktop Entry]
|
||||
Categories=
|
||||
Encoding=UTF-8
|
||||
Exec=java -jar /usr/share/spread/spread.jar
|
||||
GenericName=
|
||||
GenericName[zh]=
|
||||
Icon=/usr/share/spread/spread.png
|
||||
MimeType=
|
||||
Name=SPREAD
|
||||
Name[zh]=SPREAD
|
||||
ServiceTypes=
|
||||
SwallowExec=
|
||||
SwallowTitle=
|
||||
Terminal=false
|
||||
TerminalOptions=
|
||||
Type=Application
|
||||
X-KDE-SubstituteUID=false
|
||||
X-KDE-Username=root
|
||||
|
Loading…
Add table
Reference in a new issue