summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortydell2018-03-19 16:16:59 +0100
committertydell2018-03-19 16:16:59 +0100
commitda8c12e38a060435189fd3671d98a1ac254870c0 (patch)
treebd347a92de5b382084d5a2bd4b45574fe9a0630d
downloadaur-da8c12e38a060435189fd3671d98a1ac254870c0.tar.gz
First release
-rw-r--r--.SRCINFO19
-rwxr-xr-xPKGBUILD36
-rwxr-xr-xclickable.install22
3 files changed, 77 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fe1e51efdcc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = clickable
+ pkgdesc = Compile, build, and deploy Ubuntu Touch click packages all from the command line.
+ pkgver = 169.6eae4ca
+ pkgrel = 1
+ url = https://github.com/bhdouglass/clickable
+ install = clickable.install
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ depends = docker
+ depends = python-cookiecutter
+ provides = clickable
+ conflicts = clickable
+ source = git+https://github.com/bhdouglass/clickable.git
+ sha256sums = SKIP
+
+pkgname = clickable
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..c1a79d7389b
--- /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:
diff --git a/clickable.install b/clickable.install
new file mode 100755
index 00000000000..27e4a0e65c9
--- /dev/null
+++ b/clickable.install
@@ -0,0 +1,22 @@
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -ftq usr/share/icons/hicolor
+
+ echo "Add clickable to PATH\n"
+ echo "export PATH=\$PATH:\/opt/clickable" >> ~/.bashrc
+ source ~/.bashrc
+ echo "Configure docker for clickable\n"
+ clickable setup-docker
+ }
+
+post_upgrade() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -ftq usr/share/icons/hicolor
+}
+
+post_remove() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -ftq usr/share/icons/hicolor
+}
+
+# vim: ts=2 sw=2 et: