updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / jalview / PKGBUILD
blobc08094b29243ff5657e566818ee989bf70ba15d4
1 # Maintainer: Stefan Seemayer <mail@semicolonsoftware.de>
2 pkgname=jalview
3 pkgver=2.7
4 pkgrel=2
5 pkgdesc="Bioinformatics Multiple Alignment Editor"
6 arch=(any)
7 url="http://www.jalview.org/"
8 license=('GPL3')
9 depends=(java-runtime)
10 makedepends=(p7zip)
12 source=("http://www.jalview.org/Web_Installers/InstData/Linux/NoVM/install.bin" "jalview" "jalview.desktop")
13 md5sums=('6dfff6e6b5f9d392630f7a12fb953726'
14          '0ea5c6990bfa050c9c69f24926da3d57'
15          'b3a842500e7ff3cd1324dede69822d21')
17 build() {
20   test -d "$srcdir/$pkgname-$pkgver" && rm -rf "$srcdir/$pkgname-$pkgver"
21   mkdir -p "$srcdir/$pkgname-$pkgver" || exit 1
23   msg "Extracting installer..."
24   7z e install.bin -o$srcdir/$pkgname-$pkgver || exit 1
28 package() {
29   cd "$srcdir/$pkgname-$pkgver"
31   # set up directory structure
32   mkdir -p $pkgdir/usr/{share/{applications,pixmaps,java/$pkgname},bin}
34   install -Dm644 *.jar $pkgdir/usr/share/java/$pkgname/
35   install -Dm755 ../jalview $pkgdir/usr/bin/
36   install -Dm644 logo.gif $pkgdir/usr/share/pixmaps/jalview.gif
37   install -Dm644 ../jalview.desktop $pkgdir/usr/share/applications/
40 # vim:set ts=2 sw=2 et: