summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2c89ad5495a04a272b327e85018e7ca89dbf90f0 (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
# Maintainer: Alexander Minges <alexander.minges@gmail.com>
pkgname=libccp4-bzr
pkgver=r1896
pkgrel=2
pkgdesc="Protein X-ray crystallography toolkit - Libraries"
arch=('i686' 'x86_64')
url="http://www.ccp4.ac.uk/"
license=('GPL')
provides=('libccp4=7.0.0')
conflicts=('libccp4')
depends=('mmdb2')
makedepends=('breezy' 'gcc-fortran' 'python-tzlocal')
source=('libccp4-bzr::bzr+https://fg.oisin.rc-harwell.ac.uk/anonscm/bzr/libccp4/trunk')

sha256sums=('SKIP')

pkgver() {
    cd "$pkgname"
    printf "r%s" "$(bzr revno)"
}

build() {
  cd "$srcdir/$pkgname"  
  ./configure --prefix=/usr --enable-shared --datadir=/usr/share/ccp4 --disable-static
  make
}

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