summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 602c69d3307ac9a92e28a036f8fde6012e5bd058 (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
#Maintainer Matthijs Tadema <M dot J dot Tadema at pm dot me>
#Previous Maintainer Jens Staal <staal1978@gmail.com>

pkgname=ugene-bin
pkgver=33.0
pkgrel=1
pkgdesc="A free cross-platform genome analysis suite (binary release)"
arch=('x86_64')
url="http://ugene.net"
license=('GPL')
depends=('qt5-script' 'qt5-svg' 'qt5-webkit' 'glu' 'procps-ng' 'python')
provides=('ugene')
conflicts=('ugene')
source=("http://ugene.unipro.ru/downloads/ugene-$pkgver-x86-64.tar.gz")
sha256sums=('7f902a6812ba5c888726d0fdc3abafed4f53079d02ce3d125010db0400647d83')

package() {
    cd "$srcdir/ugene-$pkgver"
    
    mkdir -p "${pkgdir}/usr/"{bin,lib/ugene,share/{applications,icons,licenses,man,ugene,mime,pixmaps}}
    
    #move stuff to the correct locations
    mv ugene.desktop $pkgdir/usr/share/applications
    mv LICENSE $pkgdir/usr/share/licenses/ugene
    mv man1 $pkgdir/usr/share/man/man1
    mv application-x-ugene.xml $pkgdir/usr/share/mime/
    mv ugene.png $pkgdir/usr/share/pixmaps/
    tar -xf icons.tar.gz -C $pkgdir/usr/share/icons
    
    mv * $pkgdir/usr/lib/ugene/
    
    cd $pkgdir/usr/bin
    ln -s /usr/lib/ugene/ugene ugene
    
}