void-packages/srcpkgs/vicious/template
2015-01-15 11:17:28 +00:00

27 lines
1 KiB
Text

# Template file for 'vicious'
pkgname=vicious
version=2.1.3
revision=2
hostmakedepends="lua-devel"
makedepends="${hostmakedepends}"
depends="lua"
maintainer="Steven R <dev@styez.com>"
short_desc="Modular widget library for window managers"
homepage="http://git.sysphere.org/vicious/about/"
license="GPL-2"
distfiles="http://git.sysphere.org/vicious/snapshot/vicious-${version}.tar.xz"
checksum="97ffb824af89f2d205b0f0909601a32d761c0c02353b59b4314fd2cc47b2a387"
noarch="yes"
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"
}