summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d1c0e58a8f3c81919f1afe90ce8459557f1f3c19 (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
41
# Maintainer: syne <madlikene at aim dot com>
# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
# Contributor: Mick Elliot <micke at sfu dot ca>
pkgname=mesquite
pkgver=3.40
_pkgver=340-Linux
buildver=build-877
pkgrel=1
pkgdesc="A modular, extendible software for evolutionary biology, designed to help biologists organize and analyze comparative data about organisms"
arch=('any')
url="http://mesquiteproject.wikispaces.com"
license=('(L)GPL')
depends=('java-runtime')
source=(https://github.com/MesquiteProject/MesquiteCore/releases/download/v$pkgver-$buildver/Mesquite$_pkgver.tgz
        $pkgname.png
        $pkgname.desktop
	$pkgname.sh
        )
md5sums=('85d122f3ca439c3f9fe5d2752d45a9d7'
         '8b62ba93f95aab14a8643bf5b939f465'
         '279160bcf1544a78e0b0372279bfa68d'
	 'f6ff62edbf95e40d21c7bceadb35ecfe'
         )

package() {
  cd $srcdir/Mesquite_Folder

  # Remove bundled shell script and install own
  rm -rf $pkgdir/$pkgname.sh
  install -Dm755 ../$pkgname.sh $pkgdir/usr/bin/$pkgname
 
  # Install program files
  mkdir -p $pkgdir/usr/share/$pkgname
  cp -r * $pkgdir/usr/share/$pkgname
  find $pkgdir/usr/share/$pkgname -type f -exec chmod 644 '{}' \;


  # Install a desktop entry
  install -Dm644 ../$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
  install -Dm644 ../$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
}