aboutsummaryrefslogtreecommitdiffstats
path: root/graphite2/PKGBUILD
blob: 2d2fa4ec9cbb969c226dd6e6271051579643fed0 (plain) (blame)
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: Zee Eichel  <zee@dracos-linux.org>

pkgbase=graphite2
pkgname=('graphite2')
pkgver=1.3.13
pkgrel=1
arch=('x86_64')
url="https://github.com/silnrsi/graphite"
license=('LGPL' 'GPL' 'custom')
makedepends=('cmake')
optdepends=('python2')
source=("https://github.com/silnrsi/graphite/releases/download/${pkgver}/graphite2-${pkgver}.tgz")
sha256sums=('dd63e169b0d3cf954b397c122551ab9343e0696fb2045e1b326db0202d875f06')

prepare() {
cd "$pkgname"-"$pkgver"
sed -i '/cmptest/d' tests/CMakeLists.txt
mkdir build
}

build () {
  cd "$pkgname"-"$pkgver"
  cd build
  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
}


package() {
  cd "$pkgname"-"$pkgver"
  cd build
  make DESTDIR="$pkgdir/" install
}