summaryrefslogtreecommitdiff
path: root/community/xylib/PKGBUILD
blob: dc0c87ea1677b8c0569d00c8277c4c9f24830bd5 (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=2
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' 'mips64el')
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
}