updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / colpack / PKGBUILD
blob88564c673ba44dec0417ae3f22362a3abd54a282
1 # Maintainer:  Thomas Zervogiannis <tzervo@gmail.com>
3 pkgname=colpack
4 pkgver=1.0.3
5 pkgrel=1
6 pkgdesc="Graph Coloring for Computing Derivatives"
7 url="http://www.cscapes.org/coloringpage/"
8 arch=('any')
9 license=('GPL')
10 depends=()
11 source=(http://www.cscapes.org/download/ColPack/ColPack-1.0.3.tar.gz)
12 md5sums=('46735b0fb8546da5f4f51f59afd1b69d')
15 build() {
16         cd ${srcdir}/ColPack
17         make
20 package() {
21   install -d ${pkgdir}/usr/
22   install -d ${pkgdir}/usr/lib
23   install -d ${pkgdir}/usr/include
24   cd ${srcdir}/ColPack/build
25   for i in lib/*; do
26           install -m644 $i ${pkgdir}/usr/lib
27   done
28   for i in include/*; do
29           install -m644 $i ${pkgdir}/usr/include
30   done