From 38bd7f02552b7a5aeb19cf20b67fae7ac3c0c358 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Tue, 9 Dec 2014 19:45:06 +0000 Subject: libutempter: initial inclusion. dep of xterm --- abs/extra/libutempter/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 abs/extra/libutempter/PKGBUILD diff --git a/abs/extra/libutempter/PKGBUILD b/abs/extra/libutempter/PKGBUILD new file mode 100644 index 0000000..bbc27d9 --- /dev/null +++ b/abs/extra/libutempter/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: $ +# Maintainer: Jan de Groot + +pkgname=libutempter +pkgver=1.1.6 +pkgrel=2 +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" +} -- cgit v0.12