summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-11-03 11:44:58 +0000
committernia <nia@pkgsrc.org>2020-11-03 11:44:58 +0000
commitcedac9bab9cb61cafa8dbfff02b7f317bf96c966 (patch)
treee8873da355be2e04683f7b4757893c5caca0a1f4 /x11
parentfe75a79c571bd73143415b5a8b7b84c8b7663250 (diff)
downloadpkgsrc-cedac9bab9cb61cafa8dbfff02b7f317bf96c966.tar.gz
x11: add lemonbar
based on work by Zach Hopkins in pkgsrc-wip. lemonbar (formerly known as bar) is a lightweight bar entirely based on XCB. Provides full UTF-8 support, basic formatting, RandR and Xinerama support and EWMH compliance without wasting your precious memory.
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile3
-rw-r--r--x11/lemonbar/DESCR3
-rw-r--r--x11/lemonbar/Makefile31
-rw-r--r--x11/lemonbar/PLIST3
-rw-r--r--x11/lemonbar/distinfo6
5 files changed, 45 insertions, 1 deletions
diff --git a/x11/Makefile b/x11/Makefile
index 767d7768d31..851bb8e4cca 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.909 2020/10/30 14:22:28 nia Exp $
+# $NetBSD: Makefile,v 1.910 2020/11/03 11:44:58 nia Exp $
#
COMMENT= Packages to support the X window system
@@ -194,6 +194,7 @@ SUBDIR+= kwidgetsaddons
SUBDIR+= kwindowsystem
SUBDIR+= kxmlgui
SUBDIR+= labltk
+SUBDIR+= lemonbar
SUBDIR+= lesstif
SUBDIR+= libFS
SUBDIR+= libICE
diff --git a/x11/lemonbar/DESCR b/x11/lemonbar/DESCR
new file mode 100644
index 00000000000..25fbad089e2
--- /dev/null
+++ b/x11/lemonbar/DESCR
@@ -0,0 +1,3 @@
+lemonbar (formerly known as bar) is a lightweight bar entirely based on
+XCB. Provides full UTF-8 support, basic formatting, RandR and Xinerama
+support and EWMH compliance without wasting your precious memory.
diff --git a/x11/lemonbar/Makefile b/x11/lemonbar/Makefile
new file mode 100644
index 00000000000..5a7a3434784
--- /dev/null
+++ b/x11/lemonbar/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2020/11/03 11:44:58 nia Exp $
+
+DISTNAME= lemonbar-1.3
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_GITHUB:=LemonBoy/}
+GITHUB_PROJECT= bar
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= hopkinsza@gmail.com
+HOMEPAGE= https://github.com/LemonBoy/bar
+COMMENT= Featherweight lemon-scented bar
+LICENSE= mit
+
+USE_TOOLS+= gmake pod2man
+
+AUTO_MKDIRS= yes
+
+# generate the man page as in the lemonbar Makefile's `doc' target
+# because `all' does not call it
+post-build:
+ ${TOOLS_PATH.pod2man} --section=1 --name=lemonbar \
+ --center="lemonbar manual" \
+ --release="${PKGVERSION_NOREV}" \
+ ${WRKSRC}/README.pod > ${WRKSRC}/lemonbar.1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/lemonbar ${DESTDIR}${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/lemonbar.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
+
+.include "../../x11/libxcb/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/lemonbar/PLIST b/x11/lemonbar/PLIST
new file mode 100644
index 00000000000..94fa82d1a12
--- /dev/null
+++ b/x11/lemonbar/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/11/03 11:44:58 nia Exp $
+bin/lemonbar
+man/man1/lemonbar.1
diff --git a/x11/lemonbar/distinfo b/x11/lemonbar/distinfo
new file mode 100644
index 00000000000..cee3a979600
--- /dev/null
+++ b/x11/lemonbar/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/11/03 11:44:58 nia Exp $
+
+SHA1 (lemonbar-1.3.tar.gz) = b5afa75790a5283df4c0acee4ba6431934fc62b8
+RMD160 (lemonbar-1.3.tar.gz) = b754d0c1fd1f5819d4cc768186e6473efd31bdc4
+SHA512 (lemonbar-1.3.tar.gz) = 69f379f6ec04c3f55fd2aa03aa3c3c181fc884b683bd7232905775c34e5597f0c878874aafc6c940238f2fa980121302cfd13bf6dc3f9979007885b3c0287cf7
+Size (lemonbar-1.3.tar.gz) = 14930 bytes