summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fe93e2838f180393f6a53b758761f1594bcaa7b6 (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
31
32
33
34
35
36
37
38
39
# Maintainer: Jonas Jelten <jj@stusta.net>

_pkgbase='kevin'
pkgname="$_pkgbase-git"
pkgver=v0.4.r0.gfda3809
pkgrel=1
pkgdesc="Kevin-CI: a simple-stupid self-hosted continuous integration service"
arch=('any')
url="https://github.com/SFTtech/kevin"
license=('AGPL3')
groups=()
depends=('python' 'python-requests' 'python-tornado')
makedepends=('git')
provides=('kevin')
conflicts=('kevin')
replaces=()
backup=()
options=()
install=
source=("$_pkgbase::git+https://github.com/SFTtech/kevin")
noextract=()
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgbase"
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "$srcdir/$_pkgbase"
  python setup.py build
}

package() {
  cd "$srcdir/$_pkgbase"
  python setup.py install --root="$pkgdir/" --optimize=1
}

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