summaryrefslogtreecommitdiff
path: root/~xihh/ugene/PKGBUILD
blob: 38cd578f65afba7485074164c343bcc66bd9fc17 (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
# Maintainer: bmpvieira <mail AT bmpvieira DOT com>
pkgname=ugene
pkgver=1.9.3
pkgrel=1
pkgdesc="A free cross-platform genome analysis suite."
arch=('i686' 'x86_64' 'mips64el')
url="http://ugene.unipro.ru/"
license=('GPL')
depends=('qt' 'mesa')
source=(${url}downloads/$pkgname-$pkgver.tar.gz)
md5sums=('6ba5ff1bed47d928feb04ec15565c2b6')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  case "$CARCH" in
    "i686")
      qmake PREFIX=/usr -r ;;
    "x86_64"|"mips64el")
      qmake CONFIG+=x64 PREFIX=/usr -r ;;
  esac
  make release || return 1
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make INSTALL_ROOT="$pkgdir" install || return 1
}

# vim:set ts=2 sw=2 et: