vicious: update to 2.3.1. (#9998)

This commit is contained in:
cr6git 2017-12-14 07:02:49 +01:00 committed by Juan RP
parent 91afbaf797
commit d0b9c31408

View file

@ -1,27 +1,25 @@
# Template file for 'vicious'
pkgname=vicious
version=2.1.3
revision=4
hostmakedepends="lua52-devel"
makedepends="${hostmakedepends}"
depends="lua52"
version=2.3.1
revision=1
depends="lua"
maintainer="Steven R <dev@styez.com>"
short_desc="Modular widget library for window managers"
homepage="http://git.sysphere.org/vicious/about/"
homepage="https://github.com/Mic92/vicious"
license="GPL-2"
distfiles="http://git.sysphere.org/vicious/snapshot/vicious-${version}.tar.xz"
checksum="97ffb824af89f2d205b0f0909601a32d761c0c02353b59b4314fd2cc47b2a387"
distfiles="https://github.com/Mic92/vicious/archive/v${version}.tar.gz"
checksum=101e8ec6a71f7c8da7c653f4fa0f276db20227e2ad98b2d31702ce6735607d95
noarch="yes"
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"
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"
}