# Maintainer: dec05eba pkgname=sibs-git pkgver=0.1.2rf3d7.5272351f pkgrel=1 pkgdesc='Simple build system for native languages' arch=('i686' 'x86_64') url='https://github.com/DEC05EBA/sibs' license=('GPL-3.0') depends=('cmake' 'ninja' 'libgit2' 'curl' 'ccache') makedepends=('cmake') source=('git://github.com/DEC05EBA/sibs.git') md5sums=('SKIP') provides=(sibs) conflicts=(sibs) build() { cd "$srcdir/$provides/cmake" cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr make } check() { cd "$srcdir/$provides" ./cmake/sibs test } package() { cd "$srcdir/$provides/cmake" install -Dm644 "$srcdir/$provides/LICENSE" "$pkgdir/usr/share/licenses/$provides/LICENSE" install -Dm755 "$srcdir/$provides/cmake/sibs" "$pkgdir/usr/bin/sibs" }