summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8a63f870a5856aa8ee0e6933751b30ced046f6fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# PKGBUILD generated by pipman
# Python package author: Léo Flaventin Hauchecorne <hl037.prog@gmail.com>
pkgname=python-skbs
pkgver=2.2.1
pkgrel=4
pkgdesc="SKeleton BootStrap, a full-powered yet trivial to use and customize template based bootstrap or code generation tool"
arch=(any)
url="https://github.com/hl037/skbs"
license=(GPLv3)
makedepends=("python" "python-pip" "python-setuptools" "python-tempiny" "python-appdirs")
build() {
  pip install --no-deps --target="skbs" skbs==2.2.1
}
package() {
  sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
  mkdir -p $pkgdir/"$sitepackages"
  mkdir -p $pkgdir/usr/bin
  cp -r $srcdir/skbs/skbs* $pkgdir/"$sitepackages"
  cp -r $srcdir/skbs/bin/* $pkgdir/usr/bin
}