summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0aa761f2ec6906a0ffc836dfe934290708c7f58c (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
# Maintainer:  S├ębastien "Seblu" Luttringer

pkgname=installsystems
pkgver=9
pkgrel=1
pkgdesc='Easy Installation Framework'
arch=('any')
license=('GPL2')
url='https://github.com/seblu/installsystems'
groups=('base')
makedepends=("git")
depends=('python2' 'python2-psutil' 'python2-progressbar' 'python2-jinja')
optdepends=('python2-paramiko: support ssh repositories')
source=("git+https://github.com/seblu/installsystems.git#tag=v$pkgver")
md5sums=('SKIP')

build() {
  cd $pkgname
  python2 setup.py build
}

package() {
  cd $pkgname
  python2 setup.py install --root="$pkgdir" --optimize=1
  # fix bash completion path
  cd "$pkgdir"
  install -dm755 usr/share/bash-completion
  mv etc/bash_completion.d usr/share/bash-completion/completions
}

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