1 # Contributor: Zsolt Udvari <udvzsolt@gmail.com>
6 pkgdesc="Graphical widget library for Awesome Windows Manager."
8 url="http://awesome.naquadah.org/wiki/Blingbling"
10 depends=("awesome" "lua-oocairo")
12 changelog=$pkgname.changelog
14 _gitroot=git://github.com/cedlemo/blingbling.git
21 # Download or update the library
22 msg "Connecting to GIT server over HTTP..."
23 if [[ -d "${_gitname}" ]]; then
24 (cd "${_gitname}" && git pull origin)
25 msg "The local repository was updated."
27 git clone "${_gitroot}" "${_gitname}"
28 msg "The remote repository was cloned."
30 msg "GIT sync done or server timeout."
32 [ -d ${srcdir}/${_gitname}/examples_of_rc.lua ] && mv ${srcdir}/${_gitname}/examples{_of_rc.lua,}
33 install -d ${pkgdir}/usr/share/awesome/lib/${_gitname}
34 install -m644 ${srcdir}/${_gitname}/*.lua ${pkgdir}/usr/share/awesome/lib/${_gitname}
35 cp -r ${srcdir}/${_gitname}/layout ${pkgdir}/usr/share/awesome/lib/${_gitname}
37 install -d ${pkgdir}/usr/share/doc/${_gitname}
38 install -m644 ${srcdir}/${_gitname}/{README,To_Do} ${pkgdir}/usr/share/doc/${_gitname}
39 install -m644 ${srcdir}/${_gitname}/.udisks-glue.conf ${pkgdir}/usr/share/doc/${_gitname}/udisks-glue.conf
40 install -m644 ${srcdir}/${_gitname}/modules/*.html ${pkgdir}/usr/share/doc/${_gitname}
41 cp -r ${srcdir}/${_gitname}/examples ${pkgdir}/usr/share/doc/${_gitname}
43 install -d ${pkgdir}/usr/share/licenses/${_gitname}
44 install -m644 ${srcdir}/${_gitname}/LICENCE ${pkgdir}/usr/share/licenses/${_gitname}