summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9d009351b03dff966ae628d1fb2eb246f37b0316 (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
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>

pkgname=clip
pkgver=0.7
pkgrel=1
pkgdesc='Create charts and diagrams using a CSS-like language'
arch=('x86_64')
url='https://clip-lang.org'
license=('Apache')
depends=('fmt'
         'cairo'
         'fribidi')
makedepends=('cmake' 'freetype2' 'harfbuzz')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/asmuth/clip/archive/v${pkgver}.tar.gz")
sha256sums=('f38f455cf3e9201614ac71d8a871e4ff94a6e4cf461fd5bf81bdf457ba2e6b3e')

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

package() {
  cd "${pkgname}-${pkgver}/build"
  make DESTDIR="${pkgdir}" install
}
# vim:set ts=2 sw=2 et: