mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add morphoj
This commit is contained in:
parent
a05604fce8
commit
4b00e1998c
5 changed files with 69 additions and 0 deletions
3
BioArchLinux/morphoj/MorphoJ
Executable file
3
BioArchLinux/morphoj/MorphoJ
Executable file
|
@ -0,0 +1,3 @@
|
|||
#! /bin/sh
|
||||
# shell script for launching MorphoJ
|
||||
java -Xms128m -Xmx512m -jar /usr/share/morphoj/MorphoJ.jar
|
23
BioArchLinux/morphoj/MorphoJ.desktop
Normal file
23
BioArchLinux/morphoj/MorphoJ.desktop
Normal file
|
@ -0,0 +1,23 @@
|
|||
[Desktop Entry]
|
||||
Categories=
|
||||
Comment=Click to start MorphoJ
|
||||
Comment[zh]=Click to start MorphoJ
|
||||
Encoding=UTF-8
|
||||
Exec=java -jar /usr/share/morphoj/MorphoJ.jar
|
||||
GenericName=
|
||||
GenericName[zh]=
|
||||
Icon=/usr/share/morphoj/extras/MorphoJ_icon_64.png
|
||||
MimeType=
|
||||
Name=MorphoJ
|
||||
Name[zh]=MorphoJ
|
||||
ServiceTypes=
|
||||
SwallowExec=
|
||||
SwallowTitle=
|
||||
Terminal=false
|
||||
TerminalOptions=
|
||||
Type=Application
|
||||
X-KDE-SubstituteUID=false
|
||||
X-KDE-Username=root
|
||||
|
||||
# created by com.izforge.izpack.util.os.Unix_Shortcut $Revision$
|
||||
# $Id$%
|
25
BioArchLinux/morphoj/PKGBUILD
Normal file
25
BioArchLinux/morphoj/PKGBUILD
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Maintainer: Malacology <guoyizhang at malacology dot net>
|
||||
# Contributor: Malacology <guoyizhang at malacology dot net>
|
||||
|
||||
pkgname=morphoj
|
||||
pkgver=1.07a
|
||||
pkgrel=1
|
||||
pkgdesc="MorphoJ is an integrated program package for doing geometric morphometrics"
|
||||
arch=('x86_64')
|
||||
depends=(
|
||||
'java-runtime'
|
||||
)
|
||||
url="https://morphometrics.uk/MorphoJ_page.html"
|
||||
license=('Apache License version 2')
|
||||
source=("https://morphometrics.uk/MorphoJ_stuff/download.php?get=MorphoJ-installer_Unix_Linux.jar" "MorphoJ.desktop" "MorphoJ")
|
||||
sha256sums=('73c2555706842eb0a8885c11acce09042feee292a53afe6c9ba74724c6fc5bc4'
|
||||
'8d8446303b264ec7da0d8453d80a4ed4310a36248dbe1b5c6a98b174746263c5'
|
||||
'06398e7d78d84b6a6a9412379613600fe014cbf2950a0f8aff50e9e90f361165')
|
||||
|
||||
package() {
|
||||
mkdir -p $pkgdir/usr/{bin,share/$pkgname}
|
||||
java -DINSTALL_PATH=$pkgdir/usr/share/$pkgname -jar download.php?get=MorphoJ-installer_Unix_Linux.jar -options-system
|
||||
install -Dm755 $srcdir/MorphoJ.desktop $pkgdir/usr/share/applications/MorphoJ.desktop
|
||||
chmod +x $srcdir/MorphoJ
|
||||
install -Dm755 $srcdir/MorphoJ $pkgdir/usr/bin/MorphoJ
|
||||
}
|
10
BioArchLinux/morphoj/lilac.py
Normal file
10
BioArchLinux/morphoj/lilac.py
Normal 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
BioArchLinux/morphoj/lilac.yaml
Normal file
8
BioArchLinux/morphoj/lilac.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: starsareintherose@outlook.com
|
||||
update_on:
|
||||
- regex: 'Version (\d+.\d+\w),'
|
||||
source: regex
|
||||
url: https://morphometrics.uk/MorphoJ_guide/frameset.htm?changelog.htm
|
Loading…
Add table
Reference in a new issue