summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3b140aae2c49fb829295c604456443ec4092210b (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
# Maintainer: Ronny Lorenz <ronny at tbi dot univie dot ac dot at>

pkgname=snoreport
pkgver=1.3
pkgrel=1
pkgdesc=""
arch=('x86_64' 'i686')
license=('Custom')
url="http://www.bioinf.uni-leipzig.de/Software/snoReport/"
depends=('viennarna')
optdepends=()
makedepends=()
provides=()
source=(http://www.bioinf.uni-leipzig.de/Software/snoReport/SnoReport-${pkgver}.tar.gz
        buildfix.patch)
md5sums=( 'SKIP'
          'SKIP')

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/"
}