[arch-commits] Commit in abduco/repos (6 files)
Christian Hesse
eworm at archlinux.org
Thu Feb 16 10:59:59 UTC 2017
Date: Thursday, February 16, 2017 @ 10:59:59
Author: eworm
Revision: 212558
archrelease: copy trunk to community-i686, community-x86_64
Added:
abduco/repos/community-i686/
abduco/repos/community-i686/PKGBUILD
(from rev 212557, abduco/trunk/PKGBUILD)
abduco/repos/community-i686/config.h
(from rev 212557, abduco/trunk/config.h)
abduco/repos/community-x86_64/
abduco/repos/community-x86_64/PKGBUILD
(from rev 212557, abduco/trunk/PKGBUILD)
abduco/repos/community-x86_64/config.h
(from rev 212557, abduco/trunk/config.h)
---------------------------+
community-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
community-i686/config.h | 19 +++++++++++++++++++
community-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
community-x86_64/config.h | 19 +++++++++++++++++++
4 files changed, 106 insertions(+)
Copied: abduco/repos/community-i686/PKGBUILD (from rev 212557, abduco/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-02-16 10:59:59 UTC (rev 212558)
@@ -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"
+}
Copied: abduco/repos/community-i686/config.h (from rev 212557, abduco/trunk/config.h)
===================================================================
--- community-i686/config.h (rev 0)
+++ community-i686/config.h 2017-02-16 10:59:59 UTC (rev 212558)
@@ -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 },
+};
Copied: abduco/repos/community-x86_64/PKGBUILD (from rev 212557, abduco/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2017-02-16 10:59:59 UTC (rev 212558)
@@ -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"
+}
Copied: abduco/repos/community-x86_64/config.h (from rev 212557, abduco/trunk/config.h)
===================================================================
--- community-x86_64/config.h (rev 0)
+++ community-x86_64/config.h 2017-02-16 10:59:59 UTC (rev 212558)
@@ -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