updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ugene-binary / PKGBUILD
blob0bcd6ac5fbc0aca3b773a7c01101e390de1084c0
1 # Maintainer: Giorgio Gilestro <gilest.ro>
2 pkgname=ugene-binary
3 pkgver=1.9.8
4 pkgrel=4
5 pkgdesc="A free cross-platform genome analysis suite. Precompiled version."
6 arch=('i686' 'x86_64')
7 url="http://ugene.unipro.ru"
8 license=('GPL')
9 depends=('qt' 'mesa')
10 provides=('ugene')
12 source=( ${url}/downloads/ugene-$pkgver-x86.tar.gz ${url}/downloads/ugene-${pkgver}-x86-64.tar.gz ugene.desktop ugene.sh ugene.svg)
13 md5sums=('21ea899aea6f021850ab9cae46872fd1' '6fc8a4188d009c8d493b326d89979ae4' '28a763a5808f5e2cb77a9550835cb5e6' 'fea649663092f4df254fd5ace3d4ec39' 'c65d205b7200e13910ceae9aa989bdc2')
15 if   [ "$CARCH" == 'i686' ]; then
16   unset source[1]
17   unset md5sums[1]
18 elif [ "$CARCH" == 'x86_64' ]; then
19   unset source[0]
20   unset md5sums[0]
24 package() {
25   install -d $pkgdir/usr/bin
26   install -d $pkgdir/usr/share/{applications,ugene,man}
28   cd $srcdir
29   install ugene.desktop $pkgdir/usr/share/applications/
30   install -m755 ugene.sh $pkgdir/usr/bin/ugene
31   install ugene.svg $pkgdir/usr/share/ugene/
33   cd $srcdir/ugene-$pkgver/
34   mv man1 $pkgdir/usr/share/man/
35   cp -ra * $pkgdir/usr/share/ugene/
36