From aebd5409d37a43f1c871fbe36ae608593ba6a793 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 4 Mar 2019 21:50:57 -0300 Subject: [PATCH] New package: i3lock-fancy-0.2 --- srcpkgs/i3lock-fancy/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/i3lock-fancy/template diff --git a/srcpkgs/i3lock-fancy/template b/srcpkgs/i3lock-fancy/template new file mode 100644 index 00000000000..fbbf22d0143 --- /dev/null +++ b/srcpkgs/i3lock-fancy/template @@ -0,0 +1,24 @@ +# 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 " +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 +}