void-packages/srcpkgs/i3lock-fancy/template

25 lines
655 B
Bash

# Template file for 'i3lock-fancy'
pkgname=i3lock-fancy
version=0.2
revision=1
archs=noarch
depends="util-linux bash ImageMagick i3lock wmctrl gawk"
short_desc="Fancy lockscreen using i3lock"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://github.com/meskarune/i3lock-fancy"
distfiles="https://github.com/meskarune/i3lock-fancy/archive/${version}.tar.gz"
checksum=be30c8ace49c69debea0fd5e3e46548caccdce9a70ec744f8e9b15ec6c3d1508
do_install() {
vsed -i 's|$scriptpath|/usr/share/i3lock-fancy|g' lock
vbin lock i3lock-fancy
for i in icons/*; do
vinstall $i 644 usr/share/i3lock-fancy/icons
done
vlicense LICENSE
}