2013-06-21 22:19:23 +00:00
|
|
|
# Template file for 'vicious'
|
|
|
|
pkgname=vicious
|
|
|
|
version=2.1.1
|
|
|
|
revision=1
|
|
|
|
short_desc="Modular widget library for window managers."
|
|
|
|
maintainer="Steven R <strob AT styez DOT com>"
|
|
|
|
license="GPL-2"
|
|
|
|
makedepends="lua-devel>=5.1<5.2"
|
|
|
|
homepage="http://git.sysphere.org/vicious/about/"
|
|
|
|
distfiles="http://git.sysphere.org/vicious/snapshot/${pkgname}-${version}.tar.xz"
|
|
|
|
checksum="59764f9a3ae491f6b14d6135ff53346c004d988bd9caa6fb1ec3b7999fbf3078"
|
|
|
|
long_desc="
|
|
|
|
Vicious is a modular widget library for window managers, but
|
2013-06-22 00:08:33 +00:00
|
|
|
mostly catering to users of the awesome window manager. It was
|
|
|
|
derived from the old Wicked widget library, and has some of the
|
|
|
|
old Wicked widget types, a few of them rewritten, and a good
|
|
|
|
number of new ones."
|
2013-06-21 22:19:23 +00:00
|
|
|
|
|
|
|
do_install() {
|
2013-06-22 00:42:06 +00:00
|
|
|
vinstall LICENSE 644 "usr/share/licenses/${pkgname}/"
|
|
|
|
vinstall CHANGES 644 "usr/share/doc/${pkgname}/"
|
2013-06-21 22:19:23 +00:00
|
|
|
|
2013-06-22 00:42:06 +00:00
|
|
|
vmkdir "usr/share/lua/5.1/${pkgname}"
|
|
|
|
vmkdir "usr/share/lua/5.1/${pkgname}/widgets"
|
|
|
|
vmkdir "usr/share/lua/5.1/${pkgname}/contrib"
|
2013-06-22 00:08:33 +00:00
|
|
|
|
2013-06-22 00:42:06 +00:00
|
|
|
vinstall TODO 644 "usr/share/doc/${pkgname}"
|
|
|
|
vinstall README 644 "usr/share/doc/${pkgname}"
|
|
|
|
install -m644 *.lua "${DESTDIR}/usr/share/lua/5.1/${pkgname}"
|
|
|
|
install -m644 widgets/*.lua "${DESTDIR}/usr/share/lua/5.1/${pkgname}/widgets"
|
|
|
|
install -m644 contrib/*.lua "${DESTDIR}/usr/share/lua/5.1/${pkgname}/contrib"
|
2013-06-21 22:19:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
vicious_package() {
|
2013-06-22 00:42:06 +00:00
|
|
|
noarch="yes"
|
|
|
|
depends="awesome alsa-utils wireless_tools curl lua" #missing hddtemp
|
|
|
|
pkg_install() {
|
|
|
|
vmove all
|
|
|
|
}
|
2013-06-21 22:19:23 +00:00
|
|
|
}
|