not depend on AUR but depen on the information form the github

This commit is contained in:
Kuoi 2022-03-20 19:33:44 +00:00
parent 2167e36852
commit d89900e880
2 changed files with 7 additions and 7 deletions

View file

@ -2,14 +2,14 @@
# Contributor: Malacology <guoyizhang at malacology dot com> # Contributor: Malacology <guoyizhang at malacology dot com>
pkgname=easycodeml pkgname=easycodeml
pkgver=1.21 pkgver=1.4
pkgrel=1 pkgrel=1
pkgdesc="A visual tool for analysis of selection using CodeML. https://doi.org/10.1002/ece3.5015" pkgdesc="A visual tool for analysis of selection using CodeML. https://doi.org/10.1002/ece3.5015"
arch=('x86_64') arch=('x86_64')
url="https://github.com/BioEasy/EasyCodeML" url="https://github.com/BioEasy/EasyCodeML"
license=('LGPL3') license=('LGPL3')
source=("https://github.com/starsareintherose/easycodeml/releases/download/${pkgver}/EasyCodeML.zip" "easycodeml.desktop" "EasyCodeML.png") source=("https://raw.githubusercontent.com/BioEasy/EasyCodeML/master/EasyCodeML.jar" "easycodeml.desktop" "EasyCodeML.png")
sha256sums=('45ef18a896818643908dc3ad637da7773f6d984e75f8a6faa61992a7d8e48776' sha256sums=('16eef77a21be47ac2b2cf2e04ded75dc76546a71e0ca227aa21e0418ec8caf36'
'e20af3e0e14be4f95d634bf5c34cb35dc37edfada7d97f9c0e9dd10afa7cbf6f' 'e20af3e0e14be4f95d634bf5c34cb35dc37edfada7d97f9c0e9dd10afa7cbf6f'
'5393db9477bd071511788ea6255c49005274b4aebe792a7631eaa296ada14987') '5393db9477bd071511788ea6255c49005274b4aebe792a7631eaa296ada14987')
depends=( depends=(
@ -17,7 +17,7 @@ depends=(
) )
package() { package() {
install -dm755 "$pkgdir"/usr/share/{EasyCodeML,applications} install -dm755 "$pkgdir"/usr/share/{EasyCodeML,applications}
mv "$srcdir"/EasyCodeML/* "$pkgdir"/usr/share/EasyCodeML install -Dm 755 "$srcdir"/EasyCodeML.jar "$pkgdir"/usr/share/EasyCodeML
install -m 755 ${srcdir}/EasyCodeML.png ${pkgdir}/usr/share/EasyCodeML/EasyCodeML.png install -m 755 ${srcdir}/EasyCodeML.png ${pkgdir}/usr/share/EasyCodeML/EasyCodeML.png
install -m 755 ${srcdir}/easycodeml.desktop ${pkgdir}/usr/share/applications/easycodeml.desktop install -m 755 ${srcdir}/easycodeml.desktop ${pkgdir}/usr/share/applications/easycodeml.desktop
} }

View file

@ -2,7 +2,7 @@ build_prefix: extra-x86_64
maintainers: maintainers:
- github: starsareintherose - github: starsareintherose
email: starsareintherose@outlook.com email: starsareintherose@outlook.com
pre_build_script: aur_pre_build(maintainers='malacology') #pre_build_script: aur_pre_build(maintainers='malacology')
update_on: update_on:
- source: aur - source: cmd
aur: easycodeml cmd: curl -sS https://raw.githubusercontent.com/BioEasy/EasyCodeML/master/Version%20History.txt | awk 'NR==1{print}' | awk '{print$2}'