diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-02-19 18:16:16 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-02-19 18:16:16 (GMT) |
commit | 8de064f6e96f960cdbfe6868d9957a4613f704df (patch) | |
tree | 4e73a420991733450d013529c0fee60e0365297a /abs/extra/libutempter/PKGBUILD | |
parent | 0374b16f1e15ba1819b62bd5a6e0076ac7b243d0 (diff) | |
parent | 6fde8cd5e74f0840e01988e743464fe91c0a28f8 (diff) | |
download | linhes_pkgbuild-8de064f6e96f960cdbfe6868d9957a4613f704df.zip linhes_pkgbuild-8de064f6e96f960cdbfe6868d9957a4613f704df.tar.gz linhes_pkgbuild-8de064f6e96f960cdbfe6868d9957a4613f704df.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/extra/libutempter/PKGBUILD')
-rw-r--r-- | abs/extra/libutempter/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
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 <jgc@archlinux.org> + +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" +} |