summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-02-21 11:21:37 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-02-21 11:22:04 -0300
commitbda176fa6771bbb49fe758a9b1d7179de8919b7d (patch)
treebe7812a56617ef4da65d87ebe1a0eb58dcfb9204 /pcr
parentd428163e93accbf1f9759f20d24584c566267a2a (diff)
downloadabslibre-bda176fa6771bbb49fe758a9b1d7179de8919b7d.tar.gz
abslibre-bda176fa6771bbb49fe758a9b1d7179de8919b7d.tar.bz2
abslibre-bda176fa6771bbb49fe758a9b1d7179de8919b7d.zip
urxvtcd: add new package to [pcr]
Diffstat (limited to 'pcr')
-rw-r--r--pcr/urxvtcd/PKGBUILD21
-rw-r--r--pcr/urxvtcd/urxvtcd.sh6
2 files changed, 27 insertions, 0 deletions
diff --git a/pcr/urxvtcd/PKGBUILD b/pcr/urxvtcd/PKGBUILD
new file mode 100644
index 000000000..370f38704
--- /dev/null
+++ b/pcr/urxvtcd/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer (Arch): Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor (Arch): G_Syme <demichan(at)mail(dot)upb(dot)de>
+
+pkgname=urxvtcd
+pkgver=2
+pkgrel=2
+pkgdesc="A script to start urxvt (rxvt-unicode) in daemon-client mode"
+arch=('any')
+url="http://packages.debian.org/unstable/x11/rxvt-unicode"
+license=('GPL')
+depends=('rxvt-unicode')
+source=(urxvtcd.sh urxvtcd.1)
+md5sums=('6ed3f7379d592031204530071861384a'
+ 'fb28f0aae8279b64b40cd155381fe611')
+
+package() {
+ cd "${srcdir}"
+
+ install -D -m755 $pkgname.sh "${pkgdir}"/usr/bin/$pkgname
+ install -D -m644 $pkgname.1 "${pkgdir}"/usr/share/man/man1/$pkgname.1
+}
diff --git a/pcr/urxvtcd/urxvtcd.sh b/pcr/urxvtcd/urxvtcd.sh
new file mode 100644
index 000000000..1bb406532
--- /dev/null
+++ b/pcr/urxvtcd/urxvtcd.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+urxvtc "$@"
+if [ $? -eq 2 ]; then
+ urxvtd -q -o -f
+ urxvtc "$@"
+fi