summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6d498d4ed0f97198478d8c76d8790f467f5ff77a (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
# Maintainer: Ilya Elenskiy 

pkgname=megax-bin
pkgver=10.2.6
pkgrel=1
pkgdesc="Molecular Evolutionary Genetics Analysis"
arch=('i686' 'x86_64')
url="http://www.megasoftware.net"
license=('custom')
depends=('gtk2' 'gconf' 'libxtst' 'nss' 'libxss' 'alsa-lib')
source=("https://www.megasoftware.net/do_force_download/megax_${pkgver}-1_amd64.deb"
        'MEGA_EUA.pdf::https://www.megasoftware.net/download_eua')
md5sums=('3de91f0e856b3ec8a71b9bd6383ddfc7'
         '82f225eaed3a512ca70af54fabaf6690')

package() {
	tar -p -xf data.tar.xz -C "${pkgdir}"
	chmod 755 -R ../pkg/${pkgname}/usr
	
	# namcap does not like local
	cp -rl ../pkg/${pkgname}/usr/local/* ../pkg/${pkgname}/usr/
	rm -r ../pkg/${pkgname}/usr/local
	
	install -Dm644 MEGA_EUA.pdf "$pkgdir/usr/share/licenses/$pkgname/MEGA_EUA.pdf"
}