void-packages/srcpkgs/vicious/template
2013-07-07 22:41:47 -03:00

32 lines
1.1 KiB
Text

# Template file for 'vicious'
pkgname=vicious
version=2.1.1
revision=1
distfiles="http://git.sysphere.org/vicious/snapshot/vicious-${version}.tar.xz"
checksum="59764f9a3ae491f6b14d6135ff53346c004d988bd9caa6fb1ec3b7999fbf3078"
makedepends="lua-devel>=5.1<5.2"
maintainer="Steven R <strob AT styez DOT com>"
homepage="http://git.sysphere.org/vicious/about/"
license="GPL-2"
short_desc="Modular widget library for window managers"
do_install() {
vinstall LICENSE 644 "usr/share/licenses/${pkgname}/"
vinstall CHANGES 644 "usr/share/doc/${pkgname}/"
vmkdir "usr/share/lua/5.1/${pkgname}"
vmkdir "usr/share/lua/5.1/${pkgname}/widgets"
vmkdir "usr/share/lua/5.1/${pkgname}/contrib"
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"
}
vicious_package() {
noarch="yes"
depends="lua"
pkg_install() {
vmove all
}
}