summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 796f7aef131cf22a17d3ac6a8b5dc1d524d0ba71 (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
# Maintainer: kamisaki
pkgname=citch
pkgver=1.0.0
pkgrel=2
pkgdesc="citch - fast system fetch written in C++"
arch=('x86_64')
url="https://github.com/xeyossr/citch"
license=('GPL3')
depends=('gcc' 'filesystem')
makedepends=('cmake' 'gcc' 'make')
source=("git+https://github.com/xeyossr/citch.git")
sha256sums=('SKIP')

build() {
  cd "$srcdir/$pkgname"
  mkdir -p build
  cd build
  cmake .. -DCMAKE_BUILD_TYPE=Release
  make
}

package() {
  cd "$srcdir/$pkgname/build"
  install -Dm755 citch "$pkgdir/usr/bin/citch"
}