diff options
author | root <root@rshg054.dnsready.net> | 2012-12-12 02:49:40 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-12-12 02:49:40 -0800 |
commit | 6768c115af3c5f0772bcf7b02f34a88a880876c0 (patch) | |
tree | cf59712968581c230363f5604ad8f253cc0b5d87 /extra/libutempter/PKGBUILD | |
parent | ab94338181959432cf0046ce0a9643307dab9366 (diff) |
Wed Dec 12 02:43:53 PST 2012
Diffstat (limited to 'extra/libutempter/PKGBUILD')
-rw-r--r-- | extra/libutempter/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/libutempter/PKGBUILD b/extra/libutempter/PKGBUILD new file mode 100644 index 000000000..8d5145a0a --- /dev/null +++ b/extra/libutempter/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: $ +# Maintainer: Jan de Groot <jgc@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" +} |