void-packages/srcpkgs/vicious/template

26 lines
988 B
Plaintext
Raw Normal View History

2013-06-22 00:19:23 +02:00
# Template file for 'vicious'
pkgname=vicious
version=2.1.2
revision=1
2013-10-10 11:08:28 +02:00
makedepends="lua-devel>=5.2"
noarch="yes"
depends="lua>=5.2"
distfiles="http://git.sysphere.org/vicious/snapshot/vicious-${version}.tar.xz"
checksum="42075ba024d6912064dd4c0e5ed888006f7fbcc70448560ea2b6c5298e0e5a9d"
2013-07-05 23:41:18 +02:00
maintainer="Steven R <strob AT styez DOT com>"
2013-06-22 00:19:23 +02:00
homepage="http://git.sysphere.org/vicious/about/"
2013-07-05 23:41:18 +02:00
license="GPL-2"
short_desc="Modular widget library for window managers"
2013-06-22 00:19:23 +02:00
do_install() {
2013-06-22 02:42:06 +02:00
vinstall LICENSE 644 "usr/share/licenses/${pkgname}/"
vinstall CHANGES 644 "usr/share/doc/${pkgname}/"
2013-10-10 11:11:20 +02:00
vmkdir "usr/share/lua/5.2/${pkgname}/widgets"
vmkdir "usr/share/lua/5.2/${pkgname}/contrib"
2013-06-22 02:42:06 +02:00
vinstall TODO 644 "usr/share/doc/${pkgname}"
vinstall README 644 "usr/share/doc/${pkgname}"
2013-10-10 11:08:28 +02:00
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-22 00:19:23 +02:00
}