[arch-commits] Commit in (5 files)

Christian Hesse eworm at archlinux.org
Thu Feb 16 10:59:31 UTC 2017


    Date: Thursday, February 16, 2017 @ 10:59:30
  Author: eworm
Revision: 212557

initial import of abduco

Added:
  abduco/
  abduco/repos/
  abduco/trunk/
  abduco/trunk/PKGBUILD
  abduco/trunk/config.h

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 config.h |   19 +++++++++++++++++++
 2 files changed, 53 insertions(+)

Added: abduco/trunk/PKGBUILD
===================================================================
--- abduco/trunk/PKGBUILD	                        (rev 0)
+++ abduco/trunk/PKGBUILD	2017-02-16 10:59:30 UTC (rev 212557)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: David Phillips <dbphillipsnz at _remove this part if you want_ gmail dot com>
+
+pkgname=abduco
+pkgver=0.6
+pkgrel=2
+pkgdesc='Tool for session {at,de}tach support which allows a process to run independently from its controlling terminal'
+arch=('i686' 'x86_64')
+url='http://www.brain-dump.org/projects/abduco/'
+license=('GPL')
+source=("http://www.brain-dump.org/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+        'config.h')
+sha512sums=('3b70a5cc10f0a2743dcbdf6eebdcfcee0e4f4ff8c6ce0bf0aa9f55c3fa85ab43aa659997735e063eab36aba69f91be7bb5519f3f632bff1b9098f5179165c1f2'
+            '2860d87984ae1dcfec98112e128a6e481b2a8a87ffc11131d14c2b5937a15f2a09896c2f62bfc802e7d0befa82e111a883c09958db9f544ec2532458d92cd5f4')
+
+prepare () {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	cp "${srcdir}/config.h" .
+}
+
+build () {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	make all
+}
+
+package () {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	make PREFIX='/usr' DESTDIR="${pkgdir}" install
+	install -D -m0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


Property changes on: abduco/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: abduco/trunk/config.h
===================================================================
--- abduco/trunk/config.h	                        (rev 0)
+++ abduco/trunk/config.h	2017-02-16 10:59:30 UTC (rev 212557)
@@ -0,0 +1,19 @@
+/* default command to execute if non is given and $ABDUCO_CMD is unset */
+#define ABDUCO_CMD "dvtm"
+/* default detach key, can be overriden at run time using -e option */
+static char KEY_DETACH = CTRL('\\');
+/* redraw key to send a SIGWINCH signal to underlying process
+ * (set to 0 to disable the redraw key) */
+static char KEY_REDRAW = 0;
+/* Where to place the "abduco" directory storing all session socket files.
+ * The first directory to succeed is used. */
+static struct Dir {
+	char *path;    /* fixed (absolute) path to a directory */
+	char *env;     /* environment variable to use if (set) */
+	bool personal; /* if false a user owned sub directory will be created */
+} socket_dirs[] = {
+	{ .env  = "ABDUCO_SOCKET_DIR", false },
+	{ .env  = "HOME",              true  },
+	{ .env  = "TMPDIR",            false },
+	{ .path = "/tmp",              false },
+};



More information about the arch-commits mailing list