summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuan Guo2016-04-15 22:43:42 +0200
committerQuan Guo2016-04-15 22:43:42 +0200
commitcbedd4561d3ed72e0e3a0d43c78f54dda0e2eff9 (patch)
treed544d84a770b7b5cf80cdb81efa8f5590652e5d6
downloadaur-cbedd4561d3ed72e0e3a0d43c78f54dda0e2eff9.tar.gz
First commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD40
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6351eefec42
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+# Generated by mksrcinfo v8
+# Fri Apr 15 20:43:28 UTC 2016
+pkgbase = awesome-treetile-git
+ pkgdesc = Treetile is binary tree-based, dynamical tiling layout for Awesome 3.5 and latter.
+ pkgver = 2016.03.06.g15a5ecc
+ pkgrel = 1
+ url = https://github.com/guotsuan/awesome-revelation.git
+ arch = any
+ license = GPL3
+ depends = awesome
+ source = git+https://github.com/guotsuan/awesome-treetile.git
+ md5sums = SKIP
+
+pkgname = awesome-treetile-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..66968488552
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 72016 2012-06-05 19:54:42Z seblu $
+# Maintainer: Quan Guo <guotsuan@gmail.com>
+
+pkgname=awesome-treetile-git
+pkgver=2016.03.06.g15a5ecc
+pkgrel=1
+pkgdesc='Treetile is binary tree-based, dynamical tiling layout for Awesome 3.5
+and latter.'
+
+arch=('any')
+url='https://github.com/guotsuan/awesome-revelation.git'
+license=('GPL3')
+depends=('awesome')
+source=('git+https://github.com/guotsuan/awesome-treetile.git')
+md5sums=('SKIP')
+_gitname='awesome-treetile'
+
+
+
+pkgver() {
+ cd "${srcdir}/${_gitname}"
+ git log -1 --format="%cd.g%h" --date=short | sed 's/-/./g'
+}
+
+build() {
+ cd $srcdir/${_gitname}
+}
+
+package() {
+ cd ${srcdir}/${_gitname}
+ # Install the library
+ install -Dm644 init.lua "$pkgdir/usr/share/awesome/lib/treetile/init.lua"
+ install -Dm644 bintree.lua "$pkgdir/usr/share/awesome/lib/treetile/init.lua"
+ install -Dm644 init.lua "$pkgdir/usr/share/awesome/lib/treetile/init.lua"
+ install -Dm644 layout_icon.png "$pkgdir/usr/share/awesome/lib/treetile/init.lua"
+ # Install documentation
+ install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README"
+}
+
+# vim:set ts=2 sw=2 ft=sh et: