summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 40ca81b9b75096ab34de02fcb5a620a9f41d367a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Tomasz Zok <tomasz.zok [at] gmail.com>
pkgname=centroid-rna-package
pkgver=0.0.16
pkgrel=1
pkgdesc="CentroidFold for predicting RNA secondary structures"
arch=('i686' 'x86_64')
url="https://github.com/satoken/centroid-rna-package"
license=('GPL')
depends=('boost-libs>=1.40.0' 'mpfr')
makedepends=('viennarna>=1.8' 'pkgconf')
source=("https://github.com/satoken/${pkgname}/archive/v${pkgver}.tar.gz")
md5sums=('0978870363a832bb9875c5114e37f79c')

build() {
    cd "$pkgname-$pkgver"
    LIBS=$(pkg-config --libs mpfr) ./configure --prefix=/usr --with-vienna-rna
    make
}

package() {
    cd "$pkgname-$pkgver"
    make DESTDIR="$pkgdir/" install
}