summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 07603e38c826ba72b12decb3c7de8c8bd1837604 (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
# Maintainer: Nigel Michki <nigeil@yahoo.com>
pkgname=star-seq-alignment
pkgver=v2.5
pkgrel=1
pkgdesc="An RNA-seq alignment suite, by Alexander Doin"
arch=('i686' 
      'x86_64')
url="https://github.com/alexdobin/STAR"
license=('GPLv3')
groups=()
conflicts=()
depends=()
makedepends=('wget'
             'gcc')
optdepends=()
source=('https://github.com/alexdobin/STAR/archive/2.5.2b.tar.gz')
md5sums=('31a0c48f4d163f11238e1f7add3ab5c4')

prepare() {
  msg2 "Downloading files"
  wget $source
  msg2 "Decompressing files"
  tar -xzvf $srcdir/2.5.2b.tar.gz
}

build() {
  cd $srcdir/STAR-2.5.2b/source
  make STAR
}

package() {
  mkdir $pkgdir/usr
  mkdir $pkgdir/usr/bin
  cp $srcdir/STAR-2.5.2b/source/STAR $pkgdir/usr/bin/star-seq-alignment
}