blob: 9f785be0a0418c63b72538c869365611f6d575c8 (
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: Tomasz Zok <tomasz.zok [at] gmail.com>
pkgname=contrafold
pkgver=2.02
pkgrel=2
pkgdesc="CONditional TRAining for RNA Secondary Structure Prediction"
arch=('i686' 'x86_64')
url="http://contra.stanford.edu/contrafold/"
license=('custom:BSD')
depends=('gcc-libs')
makedepends=('gcc>=4.1.3')
source=("http://contra.stanford.edu/contrafold/${pkgname}_v${pkgver/./_}.tar.gz"
"LICENSE"
"LBFGS.patch"
"Utilities.patch")
md5sums=('cea66c63df835fe7f790c7f49ce83ef3'
'b69f7a6ed121ab25aebc714785a84d30'
'7f5cc03bb145d7f4ff8e18ede22bbdd7'
'1edad72c52d336a0fa17862371dd60d0')
prepare() {
cd "$pkgname/src"
patch -p0 -i "$srcdir/LBFGS.patch"
patch -p0 -i "$srcdir/Utilities.patch"
}
build() {
cd "$pkgname/src"
make clean
make
}
package() {
install -d "$pkgdir/usr/bin/"
install -d "$pkgdir/usr/share/licenses/$pkgname/"
install "$pkgname/src/contrafold" "$pkgdir/usr/bin/"
install LICENSE "$pkgdir/usr/share/licenses/$pkgname/"
}
|