32 lines
1.0 KiB
Plaintext
32 lines
1.0 KiB
Plaintext
# Template file for 'vicious'
|
|
pkgname=vicious
|
|
version=2.1.2
|
|
revision=1
|
|
makedepends="lua-devel>=5.2"
|
|
distfiles="http://git.sysphere.org/vicious/snapshot/vicious-${version}.tar.xz"
|
|
checksum="42075ba024d6912064dd4c0e5ed888006f7fbcc70448560ea2b6c5298e0e5a9d"
|
|
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"
|
|
|
|
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
|
|
}
|
|
}
|