Date: Tuesday, December 11, 2012 @ 05:22:27 Author: jgc Revision: 173113
Add helper library for use in xterm Added: libutempter/ libutempter/repos/ libutempter/trunk/ libutempter/trunk/PKGBUILD ----------+ PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) Added: libutempter/trunk/PKGBUILD =================================================================== --- libutempter/trunk/PKGBUILD (rev 0) +++ libutempter/trunk/PKGBUILD 2012-12-11 10:22:27 UTC (rev 173113) @@ -0,0 +1,26 @@ +# $Id: $ +# Maintainer: Jan de Groot <j...@archlinux.org> + +pkgname=libutempter +pkgver=1.1.6 +pkgrel=1 +pkgdesc="Interface for terminal emulators such as screen and xterm to record user sessions to utmp and wtmp files" +arch=('i686' 'x86_64') +url="ftp://ftp.altlinux.org/pub/people/ldv/utempter" +license=('LGPL') +depends=('glibc') +source=(ftp://ftp.altlinux.org/pub/people/ldv/utempter/$pkgname-$pkgver.tar.bz2) +md5sums=('b43827806923903aba2bc7cd3a2d45b7') + +build() { + cd "$srcdir/$pkgname-$pkgver" + RPM_OPT_FLAGS="$CFLAGS" make + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + chown root:utmp "$pkgdir/usr/lib/utempter/utempter" + chmod 2755 "$pkgdir/usr/lib/utempter/utempter" +}