# Maintainer: Luca Weiss # Contributor: Marcin Tydelski # Contributor: Brian Douglass _pkgname=clickable pkgname=clickable-git pkgver=7.1.0.r1.gf7d2bb9 pkgrel=1 pkgdesc='Compile, build, and deploy Ubuntu Touch click packages all from the command line' arch=('any') url='https://gitlab.com/clickable/clickable' license=('GPL3') depends=( 'python-cookiecutter' 'python-requests' 'python-yaml' 'python-jsonschema' 'python-argcomplete' 'docker' 'android-tools' ) optdepends=('xorg-xhost: for running on the desktop') makedepends=('git') provides=("$_pkgname") conflicts=("$_pkgname") source=('git+https://gitlab.com/clickable/clickable.git') sha256sums=('SKIP') pkgver() { cd $_pkgname git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd $_pkgname python setup.py build } package() { cd $_pkgname python setup.py install --root="$pkgdir/" --optimize=1 --skip-build }