summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e7f0aadf11e0c4d57078f699aea6728f62eceb63 (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: Wesley Moore <wes@wezm.net>
_pkgname=kati
pkgname=kati-git
pkgver=20190122.c959cc1
pkgrel=1
pkgdesc="An experimental GNU make clone"
arch=('i686' 'x86_64')
url="https://github.com/google/kati"
license=('Apache')
depends=('ninja' 'bash')
makedepends=('git')
source=('git+https://github.com/google/kati.git')
conflicts=(kati)
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgname"
  git log -1 --format='%cd.%h' --date=short | tr -d -
}

build() {
  cd "$srcdir/$_pkgname"
  make
}

package() {
  install -Dm755 "${srcdir}/$_pkgname"/ckati "${pkgdir}/usr/bin/ckati"
}

# vim:set ts=2 sw=2 et ft=sh: