summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 93cb371fd6da780e7070df85626425b23e1da115 (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
# Submitter: Thomas Dziedzic < gostrc-ala-gmail.com >
# Maintainer: Luis Sarmiento < Luis.Sarmiento-ala-nuclear.lu.se >
pkgname=xylib
pkgver=1.6
_tag="v1.6"
_devel="wojdyr"
pkgrel=1
pkgdesc="Portable C++ library for reading files that contain x-y data
from powder diffraction, spectroscopy or other experimental methods."
url="http://xylib.sourceforge.net/"
arch=('x86_64')
license=('GPL')
depends=("wxgtk2")
makedepends=('boost>=1.46.1')
options=('!libtool')
source=("https://github.com/$_devel/$pkgname/releases/download/$_tag/$pkgname-$pkgver.tar.bz2")
sha256sums=('b641cb33fa01732b8203356e0978384f9551bf415cfbae5989b3a233b3cb0ec7')

build() {

  cd $srcdir/$pkgname-$pkgver

  ./configure --prefix=/usr
  make || return 1
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=${pkgdir} install || return 1
}