summaryrefslogtreecommitdiff
path: root/community/xylib/PKGBUILD
blob: d9e22e4daa69bc393a951bb45e63370628fb73eb (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
# Maintainer: Thomas Dziedzic < gostrc at gmail >

pkgname=xylib
pkgver=0.8
pkgrel=1
pkgdesc='xylib is a portable C++ library for reading files that contain x-y data from powder diffraction, spectroscopy or other experimental methods.'
arch=('i686' 'x86_64')
url='http://www.unipress.waw.pl/fityk/xylib/'
license=('LGPL')
makedepends=('boost')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('b6f9ddc48da2833dcb95d958bf93ba92')

build() {
  cd ${pkgname}-${pkgver}

  ./configure \
    --prefix=/usr

  make
}

package() {
  cd ${pkgname}-${pkgver}

  make DESTDIR=${pkgdir} install
}