void-packages/srcpkgs/vicious/template

26 lines
794 B
Bash

# Template file for 'vicious'
pkgname=vicious
version=2.3.1
revision=1
depends="lua"
maintainer="Steven R <dev@styez.com>"
short_desc="Modular widget library for window managers"
homepage="https://github.com/Mic92/vicious"
license="GPL-2"
distfiles="https://github.com/Mic92/vicious/archive/v${version}.tar.gz"
checksum=101e8ec6a71f7c8da7c653f4fa0f276db20227e2ad98b2d31702ce6735607d95
noarch="yes"
do_install() {
vlicense LICENSE
vdoc Changes.md
vmkdir "usr/share/lua/5.3/${pkgname}/widgets"
vmkdir "usr/share/lua/5.3/${pkgname}/contrib"
vdoc TODO
vdoc README.md
install -m644 *.lua "${DESTDIR}/usr/share/lua/5.3/${pkgname}"
install -m644 widgets/*.lua "${DESTDIR}/usr/share/lua/5.3/${pkgname}/widgets"
install -m644 contrib/*.lua "${DESTDIR}/usr/share/lua/5.3/${pkgname}/contrib"
}