mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
morphoj: fix java ver and fix
This commit is contained in:
parent
2fc039cda4
commit
8368c807d1
3 changed files with 9 additions and 16 deletions
|
@ -1,14 +1,11 @@
|
||||||
# Maintainer: Malacology <guoyizhang at malacology dot net>
|
# Maintainer: Malacology <guoyizhang at malacology dot net>
|
||||||
# Contributor: Malacology <guoyizhang at malacology dot net>
|
|
||||||
|
|
||||||
pkgname=morphoj
|
pkgname=morphoj
|
||||||
pkgver=1.08.0
|
pkgver=1.08.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="MorphoJ is an integrated program package for doing geometric morphometrics. https://doi.org/10.1111/j.1755-0998.2010.02924.x"
|
pkgdesc="MorphoJ is an integrated program package for doing geometric morphometrics. https://doi.org/10.1111/j.1755-0998.2010.02924.x"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
depends=(
|
depends=('java-runtime=11')
|
||||||
'java-runtime'
|
|
||||||
)
|
|
||||||
url="https://morphometrics.uk/MorphoJ_page.html"
|
url="https://morphometrics.uk/MorphoJ_page.html"
|
||||||
license=('Apache License version 2')
|
license=('Apache License version 2')
|
||||||
source=("https://morphometrics.uk/MorphoJ_stuff/download.php?get=MorphoJ-installer_Unix_Linux.jar" "MorphoJ.desktop" "MorphoJ")
|
source=("https://morphometrics.uk/MorphoJ_stuff/download.php?get=MorphoJ-installer_Unix_Linux.jar" "MorphoJ.desktop" "MorphoJ")
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
#!/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()
|
|
||||||
update_aur_repo()
|
|
|
@ -2,6 +2,13 @@ build_prefix: extra-x86_64
|
||||||
maintainers:
|
maintainers:
|
||||||
- github: starsareintherose
|
- github: starsareintherose
|
||||||
email: kuoi@bioarchlinux.org
|
email: kuoi@bioarchlinux.org
|
||||||
|
pre_build_script: |
|
||||||
|
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||||
|
run_cmd(['updpkgsums'])
|
||||||
|
post_build_script: |
|
||||||
|
git_add_files('PKGBUILD')
|
||||||
|
git_commit()
|
||||||
|
update_aur_repo()
|
||||||
update_on:
|
update_on:
|
||||||
- source: cmd
|
- source: cmd
|
||||||
cmd: w3m -dump https://morphometrics.uk/MorphoJ_guide/changelog.htm |grep -o 'Version [0-9].[0-9]\+\w\|Version [0-9].[0-9]\+.[0-9]\+' | head -n1 | cut -d' ' -f2
|
cmd: w3m -dump https://morphometrics.uk/MorphoJ_guide/changelog.htm |grep -o 'Version [0-9].[0-9]\+\w\|Version [0-9].[0-9]\+.[0-9]\+' | head -n1 | cut -d' ' -f2
|
||||||
|
|
Loading…
Add table
Reference in a new issue