commit 03b28e1c3ac2c4d2c1f67253c5034f6fc9e56578
parent 903a2b5a6f99ef3ea6c7c8be1e38a69c892424a0
Author: Dash Eclipse <dash@ezup.dev>
Date: Sat, 18 Jul 2020 14:52:49 +0000
New package: dwl
Diffstat:
2 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/README b/README
@@ -3,9 +3,10 @@ Dash Eclipse's Void Linux Repository
[pkg] [patches/notes]
+dwl #new #git
dwm systray, nordtheme color
lilo keytab-lilo patch
-scroll #new
+scroll #new #git
slock capscolor, message, dpms
st scrollback, scrollback-mouse, nordtheme
trojan #new
diff --git a/srcpkgs/dwl/template b/srcpkgs/dwl/template
@@ -0,0 +1,22 @@
+# Template file for 'dwl'
+pkgname=dwl
+version=0.1
+revision=1
+build_style=gnu-makefile
+make_use_env=yes
+hostmakedepends="git"
+makedepends="pkg-config pixman-devel wayland-protocols wayland-scanner++ wlroots-devel xcb-util-errors-devel xcb-util-wm-devel"
+short_desc="dwm for Wayland"
+maintainer="Dash Eclipse <dash@ezup.dev>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/djpohly/dwl"
+
+do_fetch() {
+ git clone --depth 1 https://github.com/djpohly/dwl.git ${wrksrc}
+ commit_id=$(git -C ${wrksrc} rev-parse --short HEAD)
+ sed -i 's/printf("Usage:/printf("dwl (git-91b18d4)\\nUsage:/' ${wrksrc}/dwl.c
+}
+
+do_install() {
+ vinstall dwl 755 /usr/bin
+}