add pibuss

This commit is contained in:
starsareintherose 2021-11-02 21:22:15 +00:00
parent 6018d2b58d
commit 1e72e85b8b
5 changed files with 66 additions and 0 deletions

29
pibuss/PKGBUILD Normal file
View file

@ -0,0 +1,29 @@
# Maintainer: Malacology <guoyizhang at malacology dot com>
# Contributor: Malacology <guoyizhang at malacology dot com>
pkgname=pibuss
pkgver=1.4
_pkgver=1-4
pkgrel=1
depends=(
'jre-openjdk-headless'
'jre-openjdk'
'jdk-openjdk'
'openjdk-doc'
'openjdk-src'
)
pkgdesc="a BEAST/BEAGLE utility for sequence simulation, which provides an easy to use interface that allows flexible and extensible phylogenetic data fabrication"
arch=('x86_64')
url="https://rega.kuleuven.be/cev/ecv/software/pibuss"
license=('custom')
source=("https://rega.kuleuven.be/cev/ecv/software/pibuss_files/pibuss-v${_pkgver}.jar" "pibuss.desktop" "pibuss.png")
sha256sums=('a9d397ec6815339a2d4b268b99897a7d42250d4cd649b1ad2e458033e48b432c'
'96cc7d7b0ffce5358b14c981ac84355237f5c9c5599ca9ead16f1d1f11d29f40'
'18a508a9fc4fb169d366b7158095aa001f3ccc389f6aca8f2ae2df0b84413003')
package() {
install -dm755 "$pkgdir"/usr/share/{applications,pibuss}
install -m 755 ${srcdir}/*.desktop ${pkgdir}/usr/share/applications
install -m 755 ${srcdir}/*.png ${pkgdir}/usr/share/pibuss
install -m 755 ${srcdir}/pibuss-v${_pkgver}.jar ${pkgdir}/usr/share/pibuss/pibuss.jar
}

10
pibuss/lilac.py Executable file
View 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
pibuss/lilac.yaml Normal file
View 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/pibuss
regex: pibuss_v(/d+./d+).jar

19
pibuss/pibuss.desktop Normal file
View file

@ -0,0 +1,19 @@
[Desktop Entry]
Categories=
Encoding=UTF-8
Exec=java -jar /usr/share/pibuss/pibuss.jar
GenericName=
GenericName[zh]=
Icon=/usr/share/pibuss/pibuss.png
MimeType=
Name=ΠBUSS
Name[zh]=ΠBUSS
ServiceTypes=
SwallowExec=
SwallowTitle=
Terminal=false
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=root

BIN
pibuss/pibuss.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB