diff options
Diffstat (limited to 'pcr/urxvtcd')
-rw-r--r-- | pcr/urxvtcd/PKGBUILD | 21 | ||||
-rw-r--r-- | pcr/urxvtcd/urxvtcd.sh | 6 |
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 |