void-packages/srcpkgs/vicious/template

29 lines
1.1 KiB
Text
Raw Normal View History

2013-06-21 22:19:23 +00:00
# Template file for 'vicious'
pkgname=vicious
2014-01-09 17:36:32 +00:00
version=2.1.3
2014-02-22 22:57:48 +00:00
revision=2
hostmakedepends="lua-devel"
makedepends="${hostmakedepends}"
depends="lua"
maintainer="Steven R <dev@styez.com>"
2014-11-26 14:09:00 +00:00
short_desc="Modular widget library for window managers"
2013-06-21 22:19:23 +00:00
homepage="http://git.sysphere.org/vicious/about/"
2013-07-05 21:41:18 +00:00
license="GPL-2"
2014-11-26 14:09:00 +00:00
update_site="http://git.sysphere.org/vicious/"
distfiles="http://git.sysphere.org/vicious/snapshot/vicious-${version}.tar.xz"
checksum="97ffb824af89f2d205b0f0909601a32d761c0c02353b59b4314fd2cc47b2a387"
2013-06-21 22:19:23 +00:00
2014-02-22 22:57:48 +00:00
noarch="yes"
2013-06-21 22:19:23 +00:00
do_install() {
2014-02-22 23:44:16 +00:00
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"
2013-06-21 22:19:23 +00:00
}