summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 25151d723bc05bce8bcbc0e4123899038003e58f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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"
}