blob: 96e8796bd5433595508b248c422fdd65706d43c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintianer: Caleb Maclennan <caleb@alerque.com>
# Contributor: Brian Bidulock <bidulock@openss7.org>
# Contributor: Adrian C. <anrxc..sysphere.org>
pkgname=vicious-git
_pkgname=vicious
pkgver=2.1.1.266.gea0c5a4
pkgrel=1
pkgdesc='Widgets for the Awesome window manager'
arch=('any')
url='https://github.com/vicious-widgets/vicious'
license=('GPL2')
depends=('lua')
makedepends=('git')
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')
provides=($_pkgname)
conflicts=($_pkgname)
source=(${pkgname}::git+https://github.com/vicious-widgets/${_pkgname}.git)
md5sums=('SKIP')
pkgver() {
cd $pkgname
git describe --always | sed 's|^[^0-9]*||;s|\.g[a-f0-9]*$||;s|-|.|g'
}
package () {
cd $pkgname
# Install the vicious library
install -dm755 "$pkgdir"/usr/share/lua/5.3/$pkgname/{widgets,contrib}
install -m644 *.lua "$pkgdir/usr/share/lua/5.3/$pkgname"
install -m644 widgets/*.lua "$pkgdir/usr/share/lua/5.3/$pkgname/widgets"
install -m644 contrib/*.lua "$pkgdir/usr/share/lua/5.3/$pkgname/contrib"
}
# vim:set ts=2 sw=2 et:
|