summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: eadc5b2b714dec42bdfc3243f0749c6ba3b09e1c (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
# Maintainer: Michael Straube <straubem@gmx.de>
# Contributor: Jens Staal <staal1978@gmail.com>
# Contributor: talavis <aur talavis eu>
# Contributor: Bruno Vieira <mail@bmpvieira.com>

pkgname=ugene
pkgver=1.25.0
pkgrel=1
pkgdesc="A free cross-platform genome analysis suite"
arch=('i686' 'x86_64')
url="http://ugene.net"
license=('GPL')
depends=('qt5-script' 'qt5-svg' 'qt5-webkit' 'glu' 'procps-ng' 'python')
makedepends=('qt5-tools')
source=("https://github.com/ugeneunipro/ugene/archive/$pkgver.tar.gz")
sha256sums=('4b592a1a0ff5efba5dbdbee134755d957d132d85b6cedfbf6f7ba4b03bcea5ee')

build() {
  cd $pkgname-$pkgver

  _UGENE_ARCH=

  if [[ $CARCH == "x86_64" ]]; then
    _UGENE_ARCH=x64
  fi

  qmake-qt5 -r \
    PREFIX=/usr \
    CONFIG+=$_UGENE_ARCH \
    QMAKE_CFLAGS_ISYSTEM=
  make
}

package() {
  cd $pkgname-$pkgver

  make INSTALL_ROOT="$pkgdir" install
}