40 lines
1.3 KiB
Bash
40 lines
1.3 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=libutempter
|
|
pkgver=1.2.1
|
|
pkgrel=04
|
|
pkgdesc="Interface for terminal emulators such as screen and xterm to record user sessions to utmp and wtmp files w/o systemd"
|
|
url="http://ftp.altlinux.org/pub/people/ldv/utempter"
|
|
depends=('glibc')
|
|
makedepends=('sh' 'git')
|
|
#source=(http://ftp.altlinux.org/pub/people/ldv/utempter/$pkgname-$pkgver.tar.gz{,.asc})
|
|
source=(git+https://github.com/altlinux/libutempter.git?signed#tag=${pkgver}-alt1)
|
|
|
|
build() {
|
|
cd $pkgname/$pkgname
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname/$pkgname
|
|
make DESTDIR="$pkgdir" install
|
|
echo 'z /usr/lib/utempter/utempter 2755 root utmp' | install -Dm644 /dev/stdin "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=('LGPL')
|
|
|
|
validpgpkeys=(296D6F29A020808E8717A8842DB5BD89A340AEB7) # Dmitry V. Levin <ldv@altlinux.org>
|
|
|
|
sha256sums=(SKIP)
|
|
|
|
## 49c55ba8f49dc38248de57f2b96230d0ac997d448e0904e1ffc3b99851b30661 libutempter-1.2.1-04-x86_64.pkg.tar.lz
|