mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 06:37:15 +08:00
29 lines
807 B
Bash
29 lines
807 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.org
|
|
# contributor 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=('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"
|
|
} |