summaryrefslogtreecommitdiff
path: root/testing/screen/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-23 01:37:15 -0700
committerroot <root@rshg054.dnsready.net>2012-10-23 01:37:15 -0700
commit3c19af9355ba86a5b99d6e5a57ecaa68a7ea6e8e (patch)
tree8fac31deec086251b3b9dc8faddfe14f5667392b /testing/screen/PKGBUILD
parent99746708edfd2c56f2ba654a14f27e98b1601a43 (diff)
Tue Oct 23 01:37:02 PDT 2012
Diffstat (limited to 'testing/screen/PKGBUILD')
-rw-r--r--testing/screen/PKGBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/testing/screen/PKGBUILD b/testing/screen/PKGBUILD
new file mode 100644
index 000000000..e23d05c06
--- /dev/null
+++ b/testing/screen/PKGBUILD
@@ -0,0 +1,49 @@
+# $Id: PKGBUILD 169508 2012-10-22 18:01:13Z thomas $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Committer: dorphell <dorphell@gmx.net>
+
+pkgname=screen
+pkgver=4.0.3
+pkgrel=14
+_ptygroup=5 #the UID of our PTY/TTY group
+pkgdesc="Full-screen window manager that multiplexes a physical terminal"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/screen/"
+license=('GPL')
+depends=('ncurses' 'pam')
+backup=('etc/screenrc' 'etc/pam.d/screen')
+options=('!makeflags')
+install=screen.install
+source=(ftp://ftp.uni-erlangen.de/pub/utilities/screen/screen-${pkgver}.tar.gz
+ screen-4.0.3-long-term.patch
+ screen-4.0.3-caption-colors.patch
+ screen.pam)
+md5sums=('8506fd205028a96c741e4037de6e3c42'
+ '2723c3e71d5a2e5a74b6ddbc5215ef0f'
+ '191b6ced695ce2ae3a65bf02c2d4220f'
+ '74f7919d7b65436cc2ea5341fa8ca374')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -Np1 -i $srcdir/screen-4.0.3-long-term.patch
+ patch -Np2 -i $srcdir/screen-4.0.3-caption-colors.patch
+
+ ./configure --prefix=/usr --enable-pam \
+ --with-sys-screenrc=/etc/screenrc --enable-colors256 \
+ --enable-rxvt_osc --enable-telnet \
+ --with-pty-group=$_ptygroup \
+ --mandir=/usr/share/man --infodir=/usr/share/info \
+ --with-socket-dir=/run/screens
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+
+ install -Dm644 ${srcdir}/screen.pam ${pkgdir}/etc/pam.d/screen
+
+ install -Dm644 etc/completer.zsh ${pkgdir}/usr/share/zsh/site-functions/screen
+ install -Dm644 etc/etcscreenrc ${pkgdir}/etc/screenrc
+ install -Dm644 etc/screenrc ${pkgdir}/etc/skel/.screenrc
+}