summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 223312a95e1a75bc47b32a50fe02f06dc7d35bbe (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
# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com

pkgname=xdrfile
pkgver=1.1.4
pkgrel=2
pkgdesc='Library for reading and writing xtc, edr and trr files'
license=("LGPL3")
arch=('i686' 'x86_64')
url="http://www.gromacs.org/Developer_Zone/Programming_Guide/XTC_Library"
makedepends=('git' 'gcc' 'm4' 'automake' 'autoconf')
source=("ftp://ftp.gromacs.org/pub/contrib/$pkgname-$pkgver.tar.gz")

build() {
    cd $srcdir/$pkgname-$pkgver

    ./configure --prefix=/usr --with-pic
    make
}

package() {
    cd $srcdir/$pkgname-$pkgver

    make DESTDIR=${pkgdir} install
}
md5sums=('d992901d1bd7305b91d280ab85427c7b')