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