summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f6816ee20be0997b9e9362c9a11460eb26e3d0c2 (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
# Maintainer: dec05eba <dec05eba@protonmail.com>

pkgname=sibs-git
pkgver=r296.0941a99
pkgrel=1
pkgdesc='A simple cross-platform build system and package manager for c, c++ and zig. Inspired by rusts cargo'
arch=('x86_64')
url="https://git.dec05eba.com/sibs"
license=('GPL3')
depends=('curl' 'libarchive' 'ninja' 'cmake' 'ccache')
provides=('sibs')
conflicts=('sibs')
source=("${pkgname}-${pkgver}.tar.gz::https://dec05eba.com/snapshot/sibs.git.r296.0941a99.tar.gz")
sha512sums=('0facec010508d63e2fac1b26fa94f3726009c0a788172ba61cf89e6917b3c43c2b5408409b27383ef44807260f362a2ac3b93c59cde80061fe9c64486f63e9f8')

build() {
  cd "$srcdir/cmake"
  mkdir release
  cd release
  cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ../../
  ninja
}

package() {
  cd "$srcdir/cmake/release"
  install -Dm755 sibs "$pkgdir/usr/bin/sibs"
}