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>
pkgname=easycodeml
pkgver=1.21
pkgver=1.4
pkgrel=1
pkgdesc="A visual tool for analysis of selection using CodeML. https://doi.org/10.1002/ece3.5015"
arch=('x86_64')
url="https://github.com/BioEasy/EasyCodeML"
license=('LGPL3')
source=("https://github.com/starsareintherose/easycodeml/releases/download/${pkgver}/EasyCodeML.zip" "easycodeml.desktop" "EasyCodeML.png")
sha256sums=('45ef18a896818643908dc3ad637da7773f6d984e75f8a6faa61992a7d8e48776'
source=("https://raw.githubusercontent.com/BioEasy/EasyCodeML/master/EasyCodeML.jar" "easycodeml.desktop" "EasyCodeML.png")
sha256sums=('16eef77a21be47ac2b2cf2e04ded75dc76546a71e0ca227aa21e0418ec8caf36'
'e20af3e0e14be4f95d634bf5c34cb35dc37edfada7d97f9c0e9dd10afa7cbf6f'
'5393db9477bd071511788ea6255c49005274b4aebe792a7631eaa296ada14987')
depends=(
@ -17,7 +17,7 @@ depends=(
)
package() {
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.desktop ${pkgdir}/usr/share/applications/easycodeml.desktop
}

View file

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