summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD29
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4d89971e8ef
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = shifty-git
+ pkgdesc = Dynamic tagging library for Awesome window manager
+ pkgver = 20140817
+ pkgrel = 6
+ url = http://awesome.naquadah.org/wiki/Shifty
+ arch = any
+ license = GPL2
+ makedepends = git
+ depends = awesome
+ provides = shifty
+ conflicts = shifty
+ source = git://github.com/cdump/awesome-shifty.git
+ md5sums = SKIP
+
+pkgname = shifty-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..25151d723bc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Anton S <fluffylime at gmail dot com>
+
+pkgname=shifty-git
+_realname=awesome-shifty
+pkgver=20140817
+pkgrel=6
+pkgdesc="Dynamic tagging library for Awesome window manager"
+arch=("any")
+url="http://awesome.naquadah.org/wiki/Shifty"
+license=("GPL2")
+depends=("awesome")
+makedepends=("git")
+conflicts=("shifty")
+provides=("shifty")
+
+source=(git://github.com/cdump/awesome-shifty.git)
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${_realname}"
+ git log -1 --format="%cd" --date=short | tr -d '-'
+}
+
+package() {
+ cd "$srcdir/${_realname}"
+ install -Dm644 "init.lua" "${pkgdir}/usr/share/awesome/lib/shifty.lua"
+ install -Dm644 "example.rc.lua" "${pkgdir}/etc/xdg/awesome/shifty.rc.lua"
+}
+