diff options
author | Anton S | 2015-06-14 19:34:44 +0300 |
---|---|---|
committer | Anton S | 2015-06-14 19:34:44 +0300 |
commit | 7b44d5b788914597defc23f023587ae7bcffe183 (patch) | |
tree | b2399a41dbc78a7caa3e59a441749a304d52f48f /PKGBUILD | |
download | aur-shifty-git.tar.gz |
Imported from AUR3
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..25151d723bc0 --- /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" +} + |