updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / pulchra / PKGBUILD
blobfd9ec2cc861ed309437ee7cb62d976c8220feb1b
1 #Maintainer: yescalona <yescalona at ug dot uchile dot com>
3 pkgname=pulchra
4 pkgver=306
5 pkgrel=1
6 pkgdesc="Simple tool for all-atom reconstruction and refinement of reduced protein models."
7 arch=('i686')
8 url="http://www.pirx.com/pulchra/"
9 license=('MIT')
10 groups=()
11 depends=('glibc')
12 makedepends=()
13 optdepends=()
14 provides=()
15 conflicts=()
16 replaces=()
17 backup=()
18 options=()
19 install=
20 source=(http://www.pirx.com/cgi-bin/download.cgi?$pkgname\_$pkgver.tgz)
21 noextract=()
22 md5sums=('ae0803db00dfd6f0a4ad0132f23fe17a')
24 build() {
25   cd $srcdir/$pkgname\_$pkgver
26   cc -O3 -o pulchra pulchra.c pulchra_data.c -lm || return 1
27   install -d $pkgdir/usr/bin/ || return 1
28   install -d $pkgdir/usr/share/licenses/$pkgname
29   install -D $pkgname $pkgdir/usr/bin/ || return 1
30   install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/ || return 1