# Maintainer: Levente Polyak # Contributor: Sébastien Luttringer pkgname=vicious pkgver=2.4.1 pkgrel=2 pkgdesc='Widgets for the Awesome window manager' url='https://github.com/Mic92/vicious' arch=('any') license=('GPL2') depends=('lua53') optdepends=( 'hddtemp: for the HDD Temp widget type' 'alsa-utils: for the Volume widget type' 'wireless_tools: for the Wireless widget type' 'curl: for widget types accessing network resources' ) source=(https://github.com/Mic92/vicious/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) sha256sums=('02a123e77c42cb5bfff66e1bf95e5b8219ec83de91ecef5e4951be021438f3a3') sha512sums=('f236552815d896dc50ca6a92896d135fa4c7f31c8f8c6685909c4a2bc0b5349fe0e1ce173c58a95ccd9f6f23d0af47236d3146a75669a9eeebf18e778e6edeef') package() { cd ${pkgname}-$pkgver install -Dm 644 *.lua -t "${pkgdir}/usr/share/lua/5.3/${pkgname}" install -Dm 644 widgets/*.lua -t "${pkgdir}/usr/share/lua/5.3/${pkgname}/widgets" install -Dm 644 contrib/*.lua -t "${pkgdir}/usr/share/lua/5.3/${pkgname}/contrib" install -Dm 644 README.md Changes.md -t "${pkgdir}/usr/share/doc/${pkgname}" } # vim:set ts=2 sw=2 et: