void-packages/srcpkgs/vicious/template
2013-10-10 11:11:20 +02:00

31 lines
1 KiB
Text

# Template file for 'vicious'
pkgname=vicious
version=2.1.1
revision=2
makedepends="lua-devel>=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"
distfiles="http://git.sysphere.org/vicious/snapshot/vicious-${version}.tar.xz"
checksum=e540e75faac4f048c0617c1d9b56d09af97189cc381d1d5e0613b6dd4a680dd8
do_install() {
vinstall LICENSE 644 "usr/share/licenses/${pkgname}/"
vinstall CHANGES 644 "usr/share/doc/${pkgname}/"
vmkdir "usr/share/lua/5.2/${pkgname}/widgets"
vmkdir "usr/share/lua/5.2/${pkgname}/contrib"
vinstall TODO 644 "usr/share/doc/${pkgname}"
vinstall README 644 "usr/share/doc/${pkgname}"
install -m644 *.lua "${DESTDIR}/usr/share/lua/5.2/${pkgname}"
install -m644 widgets/*.lua "${DESTDIR}/usr/share/lua/5.2/${pkgname}/widgets"
install -m644 contrib/*.lua "${DESTDIR}/usr/share/lua/5.2/${pkgname}/contrib"
}
vicious_package() {
noarch="yes"
depends="lua>=5.2"
pkg_install() {
vmove all
}
}