summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2963536fa77aabe31636edb4051e7ae896772b87 (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
#Maintainer: Bruna Bazaluk M. V. <bazaluk at riseup dot net>
pkgname=kworkflow-git
_gitname=kworkflow
_lpkg="${_gitname,,}"
pkgver=0.7
pkgrel=2
pkgdesc="Scripts that help setting up infra for kernel development."
arch=('x86_64')
url="https://github.com/rodrigosiqueira/kworkflow"
source=("git+https://github.com/rodrigosiqueira/kworkflow.git")
license=('GPL2')
depends=("libguestfs"
		 "qemu"
		 "ansible"
		 "git"
		)
provides=("${_lpkg}")
conflicts=("${_lpkg}")
md5sums=('SKIP')
prepare() {
  cd "$_gitname"
  git checkout master
  git pull
}
build() {
  cd "$_gitname"
  chmod +x setup.sh
  ./setup.sh -i
}
package() {
  cd "$_gitname"
  mkdir -p "$pkgdir$HOME/.kworkflow"
  cp -r * "$pkgdir$HOME/.kworkflow/"
  mkdir -p "$pkgdir/usr/bin"
  ln -s "$HOME/.kw/kw" "$pkgdir/usr/bin/kworkflow"
}
install="kw.install"