summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f073ff477b17f91c812c5a8b006e3aa01c428eab (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
37
38
39
40
# Maintainer: Ronny Lorenz <ronny at tbi dot univie dot ac dot at>

pkgname=snoreport
pkgver=1.3
pkgrel=2
pkgdesc="Computational identification of snoRNAs with unknown targets"
arch=('x86_64' 'i686')
license=('Custom')
url="http://www.bioinf.uni-leipzig.de/Software/snoReport/"
depends=('viennarna')
optdepends=()
makedepends=('autoconf')
provides=()
source=(http://www.bioinf.uni-leipzig.de/Software/snoReport/SnoReport-${pkgver}.tar.gz
        http://www.bioinf.uni-leipzig.de/Software/snoReport/README_snoReport
        buildfix.patch)
md5sums=( '299d6cd2344ff376eeb8541daeacced0'
          'f6dd0df226ec7510f9d14dfd4573e0d1'
          '592a51a1c0261b4df627635831056513')

prepare() {
  cd "${srcdir}/SnoReport-${pkgver}"
  patch -p1 < ../buildfix.patch
  mv configure.in configure.ac
  autoreconf -i
}

build() {
  cd "${srcdir}/SnoReport-${pkgver}"
  ./configure --prefix=/usr || return 1
  make || return 1
}

package() {
  cd "${srcdir}/SnoReport-${pkgver}"
  make DESTDIR="${pkgdir}" install || return 1
  mv "${pkgdir}/usr/bin/summarizeOutput.pl" "${pkgdir}/usr/share/snoReport/"
  install -Dm644 ../README_snoReport "${pkgdir}/usr/share/doc/snoReport/README"
}