summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e4a6d9f76b9207fab11c76afcc9aa7b793970206 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Maintainer: Malacology <guoyizhang at malacology dot com>
# Contributor: Malacology <guoyizhang at malacology dot com>

pkgname=easycodeml
pkgver=1.4
pkgrel=3
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://raw.githubusercontent.com/BioEasy/EasyCodeML/master/EasyCodeML.jar"
	"https://raw.githubusercontent.com/BioEasy/EasyCodeML/master/Custom/codeml.ctl"
	"https://raw.githubusercontent.com/BioEasy/EasyCodeML/master/Custom/default.ctl"
	"https://github.com/BioEasy/EasyCodeML/raw/master/Preset/chi2.exe"
	"https://github.com/BioEasy/EasyCodeML/raw/master/Preset/codeml.exe"
	"easycodeml.desktop"
	"EasyCodeML.png")
sha256sums=('16eef77a21be47ac2b2cf2e04ded75dc76546a71e0ca227aa21e0418ec8caf36'
            '2a369a9497cf9435322dc2dad32787f0178685d483ed12aa407e7702b68071a1'
            'b665482ad39736725dbf8b21081ddb9761c7e35c68fc93860889bd52b2429756'
            '3f6e8b9fcfb161d7e920bf3958b6820ad2a8cdb666b3faa4cf538d14e3ba0428'
            'f5884da79e69c972570225a2f2562e43c47f2935b4dd858aae4789440b691adb'
            'e20af3e0e14be4f95d634bf5c34cb35dc37edfada7d97f9c0e9dd10afa7cbf6f'
            '5393db9477bd071511788ea6255c49005274b4aebe792a7631eaa296ada14987')
depends=(
	'java-runtime'
	'paml'
)
package() {
    install -dm755 "$pkgdir"/usr/share/{EasyCodeML/{Custom,Preset,CodeMLSrc/Linux},applications}
    install -Dm 755 "$srcdir"/EasyCodeML.jar "$pkgdir"/usr/share/EasyCodeML
    install -Dm 755 $srcdir/*.ctl "$pkgdir"/usr/share/EasyCodeML/Custom/
for bin in chi2 codeml
do
    ln -s /usr/bin/$bin $pkgdir/usr/share/EasyCodeML/CodeMLSrc/Linux/$bin.exe
    install -Dm 777 $srcdir/$bin.exe $pkgdir/usr/share/EasyCodeML/Preset/$bin.exe
done
    install -m 755 ${srcdir}/EasyCodeML.png ${pkgdir}/usr/share/EasyCodeML/EasyCodeML.png
    install -m 755 ${srcdir}/easycodeml.desktop ${pkgdir}/usr/share/applications/easycodeml.desktop 
}