diff options
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2cb08ae9093a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +# Generated by mksrcinfo v8 +# Thu Feb 15 12:20:22 UTC 2018 +pkgbase = libccp4-bzr + pkgdesc = Protein X-ray crystallography toolkit - Libraries + pkgver = r1861 + pkgrel = 1 + url = http://www.ccp4.ac.uk/ + arch = i686 + arch = x86_64 + license = GPL + makedepends = bzr + makedepends = gcc-fortran + depends = mmdb2 + provides = libccp4 + conflicts = libccp4 + source = libccp4-bzr::bzr+http://fg.oisin.rc-harwell.ac.uk/anonscm/bzr/libccp4/trunk + sha256sums = SKIP + +pkgname = libccp4-bzr + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3f3f755398a0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Alexander Minges <alexander.minges@gmail.com> +pkgname=libccp4-bzr +pkgver=r1861 +pkgrel=1 +pkgdesc="Protein X-ray crystallography toolkit - Libraries" +arch=('i686' 'x86_64') +url="http://www.ccp4.ac.uk/" +license=('GPL') +provides=('libccp4') +conflicts=('libccp4') +depends=('mmdb2') +makedepends=('bzr' 'gcc-fortran') +source=('libccp4-bzr::bzr+http://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 +} |