diff options
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..c1a79d7389b8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Marcin Tydelski <marcin.tydelski@gmail.com> +# Contributor: Brian Douglass <https://github.com/bhdouglass/, http://bhdouglass.com/> + +pkgname=clickable +pkgver=169.6eae4ca +pkgrel=1 +_gitname=clickable +pkgdesc='Compile, build, and deploy Ubuntu Touch click packages all from the command line.' +arch=('i686' 'x86_64') +url='https://github.com/bhdouglass/clickable' +license=('GPL3') +depends=('docker' 'python-cookiecutter') +optdepends=() +makedepends=('git') +provides=("${pkgname%}") +conflicts=("${pkgname%}") +install="${pkgname%-*}.install" +source=('git+https://github.com/bhdouglass/clickable.git') +sha256sums=('SKIP') + +pkgver() { + cd $_gitname + echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + +package() { + +install -dm755 ${pkgdir}/opt + +rm -R ${srcdir}/${pkgname}/.git* +cp -R ${srcdir}/${pkgname} ${pkgdir}/opt/${pkgname} + +} + + +# vim: ts=2 sw=2 et: |