mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add jane
This commit is contained in:
parent
967b86672a
commit
c33a5175ec
5 changed files with 60 additions and 0 deletions
23
jane/PKGBUILD
Normal file
23
jane/PKGBUILD
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# Maintainer: Malacology <guoyizhang at malacology dot com>
|
||||||
|
# Contributor: Malacology <guoyizhang at malacology dot com>
|
||||||
|
|
||||||
|
pkgname=jane
|
||||||
|
pkgver=4
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="software tool for the cophylogeny reconstruction problem"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://www.cs.hmc.edu/~hadas/jane/"
|
||||||
|
license=('Harvey Mudd College source code & Apache License')
|
||||||
|
source=("https://www.cs.hmc.edu/~hadas/jane/downloads/linux.tar.gz" "jane.desktop" "jane.png")
|
||||||
|
sha256sums=('7cd00209eb7fcf65124b768e9d502065c45ced1800a8d691911daeb4d1664333'
|
||||||
|
'3801e224f6875859f51fa3a6cae1bc53f53413fd027395629e1637e446a96859'
|
||||||
|
'cf2275b7de1beb05e3be078409f596d0f88735888ee6e8298977ee6a1427a6c1')
|
||||||
|
depends=(
|
||||||
|
'java-runtime'
|
||||||
|
)
|
||||||
|
package() {
|
||||||
|
install -dm755 "$pkgdir"/usr/share/{jane,icons,applications}
|
||||||
|
install -m 755 ${srcdir}/*.desktop ${pkgdir}/usr/share/applications
|
||||||
|
install -m 755 ${srcdir}/*.png ${pkgdir}/usr/share/icons
|
||||||
|
mv "$srcdir"/* "$pkgdir"/usr/share/jane
|
||||||
|
}
|
18
jane/jane.desktop
Normal file
18
jane/jane.desktop
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Categories=
|
||||||
|
Encoding=UTF-8
|
||||||
|
Exec=java -jar /usr/share/jane/lib/Jane.jar
|
||||||
|
GenericName=
|
||||||
|
Icon=/usr/share/icons/jane.png
|
||||||
|
MimeType=
|
||||||
|
Name=Jane
|
||||||
|
Name[zh]=Jane
|
||||||
|
ServiceTypes=
|
||||||
|
SwallowExec=
|
||||||
|
SwallowTitle=
|
||||||
|
Terminal=false
|
||||||
|
TerminalOptions=
|
||||||
|
Type=Application
|
||||||
|
X-KDE-SubstituteUID=false
|
||||||
|
X-KDE-Username=root
|
||||||
|
|
BIN
jane/jane.png
Normal file
BIN
jane/jane.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 111 KiB |
10
jane/lilac.py
Executable file
10
jane/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()
|
9
jane/lilac.yaml
Normal file
9
jane/lilac.yaml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: starsareintherose
|
||||||
|
email: starsareintherose@outlook.com
|
||||||
|
update_on:
|
||||||
|
- regex: linux.tar.gz
|
||||||
|
source: regex
|
||||||
|
url: https://www.cs.hmc.edu/~hadas/jane/downloads/
|
||||||
|
|
Loading…
Add table
Reference in a new issue