summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9a56b8ed71e223a39aac3a0d6c8caf2e1e68d805 (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
# Maintainer: Grey Christoforo <grey at christoforo dot net>

pkgname=rsem
_pkgname=${pkgname^^}
pkgver=1.3.3
pkgrel=1
pkgdesc="accurate quantification of gene and isoform expression from RNA-Seq data"
arch=(x86_64)
url="http://deweylab.biostat.wisc.edu/rsem/"
install=rsem.install
license=(GPL3)
depends=('perl' 'r')
optdepends=('bowtie2')
source=(https://github.com/deweylab/${_pkgname}/archive/v${pkgver}.tar.gz)
md5sums=('bf62eda836ec77debd0e308f7adf50d7')

build() {
   cd "${srcdir}/${_pkgname}-${pkgver}"
   make all
}

package() {
   mkdir -p "${pkgdir}/opt/${pkgname}"

   cd "${srcdir}/${_pkgname}-${pkgver}"
   make install prefix="${pkgdir}/opt/${pkgname}"
   #mv "${srcdir}/${_pkgname}-${pkgver}" "${pkgdir}/opt/${pkgname}"

   mkdir -p "$pkgdir/etc/profile.d"
   echo "export PATH=/opt/${pkgname}/bin:"'$PATH' > "$pkgdir/etc/profile.d/${pkgname}.sh"
}

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