summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6dea1198b6866f9457e9da203ed0ccce9269a188 (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
32
# Maintainer:  <clu@eeviac>

pkgname=cmpfit
pkgver=1.4
pkgrel=1
pkgdesc="A MINPACK-1 Least Squares Fitting Library in C"
url="http://www.physics.wisc.edu/~craigm/idl/cmpfit.html"
arch=('i686' 'x86_64')
license=('unknown')
depends=()
makedepends=()
conflicts=()
replaces=()
backup=()
source=(http://www.physics.wisc.edu/~craigm/idl/down/$pkgname-$pkgver.tar.gz)
md5sums=('984d13ffa27417f87214954e824b876e')

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

package() {
  cd $srcdir/$pkgname-$pkgver
    
  # Install because makefile has no install...
  mkdir -p $pkgdir/usr/lib
  install -Dm644 libmpfit.a $pkgdir/usr/lib

  mkdir -p $pkgdir/usr/include
  install -Dm644 mpfit.h $pkgdir/usr/include
}