summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 90ac1acaa733c0fc6971425d016152ba82f4ab6b (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
33
34
35
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=laz-perf-git
pkgver=20170516
pkgrel=2
pkgdesc="Alternative LAZ implementation for C++ and JavaScript"
arch=('any')
url="https://github.com/hobu/laz-perf"
license=(LGPL)
provides=(laz-perf)
conflicts=(laz-perf)
makedepends=(cmake git)
source=('git://github.com/hobu/laz-perf.git')
sha512sums=('SKIP')

build() {
  mkdir -p laz-perf/build
  cd laz-perf/build

  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  make
}

check() {
  cd laz-perf/build

  make test
}

package() {
  cd laz-perf/build

  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: