summaryrefslogtreecommitdiff
path: root/tabbed
diff options
context:
space:
mode:
authorJohn Vogel <jvogel4@stny.rr.com>2023-04-09 09:01:58 -0400
committerJohn Vogel <jvogel4@stny.rr.com>2023-04-09 09:01:58 -0400
commit4d39182e541d7f850bd09eb91f36e4d1b4ea86d7 (patch)
tree559875633a4ac23bf500e01bc956ee117420425b /tabbed
downloadmy-aports-4d39182e541d7f850bd09eb91f36e4d1b4ea86d7.tar.gz
local: move aports section into root of repo
Diffstat (limited to 'tabbed')
-rw-r--r--tabbed/APKBUILD33
-rw-r--r--tabbed/xembed.135
2 files changed, 68 insertions, 0 deletions
diff --git a/tabbed/APKBUILD b/tabbed/APKBUILD
new file mode 100644
index 0000000..a93e096
--- /dev/null
+++ b/tabbed/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: John Vogel <jvogel4@stny.rr.com>
+# Maintainer: John Vogel <jvogel4@stny.rr.com>
+pkgname=tabbed
+pkgver=0.7
+pkgrel=0
+pkgdesc="generic tabbed interface"
+url="https://tools.suckless.org/tabbed/"
+arch="all"
+license="MITNFA"
+options="!check" # no tests
+makedepends="fontconfig-dev libx11-dev libxft-dev"
+subpackages="$pkgname-doc"
+source="https://dl.suckless.org/tools/tabbed-$pkgver.tar.gz
+ xembed.1"
+
+prepare() {
+ default_prepare
+ cp "$srcdir"/xembed.1 "$builddir"
+}
+
+build() {
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" PREFIX=/usr install
+ install -D -t "$pkgdir"/usr/share/doc/tabbed LICENSE README
+}
+
+sha512sums="
+770420935fd152e10bef59e29eeb8125ee181993691c6c5f03baf311bd685c2b5f0ded13854b3715cc60d0f1ae99eceacd3e6cb7e4008c34917ae55c38b436a7 tabbed-0.7.tar.gz
+7f5e8aa41e476a154aec9c25608032ffc6a9eb3198af40dbcb764b22297d260bb2c08405eb0464d7f551ed2032605ca79421b5434a051299f672efd4f8f38e75 xembed.1
+"
diff --git a/tabbed/xembed.1 b/tabbed/xembed.1
new file mode 100644
index 0000000..5b0c28c
--- /dev/null
+++ b/tabbed/xembed.1
@@ -0,0 +1,35 @@
+.TH XEMBED 1 tabbed\-VERSION
+.SH NAME
+xembed \- XEmbed foreground process
+.SH SYNOPSIS
+.B xembed
+.I flag command
+.RI [ "argument ..." ]
+.SH DESCRIPTION
+If the environment variable XEMBED is set, and
+.B xembed
+is in the foreground of its controlling tty, it will execute
+.IP
+command flag $XEMBED [argument ...]
+.LP
+Otherwise it will execute
+.IP
+command [argument ...]
+.LP
+.SH EXAMPLE
+In a terminal emulator within a
+.B tabbed
+session, the shell alias
+.IP
+$ alias surf='xembed -e surf'
+.LP
+will cause `surf' to open in a new tab, unless it is run in the background,
+i.e. `surf &', in which case it will instead open in a new window.
+.SH AUTHORS
+See the LICENSE file for the authors.
+.SH LICENSE
+See the LICENSE file for the terms of redistribution.
+.SH SEE ALSO
+.BR tabbed (1)
+.SH BUGS
+Please report them.