32 lines
648 B
Bash
32 lines
648 B
Bash
# Maintainer: Daryl Ronningen <relms@relms.dev>
|
|
|
|
pkgname=utmps
|
|
pkgver=0.1.2.2
|
|
pkgrel=1
|
|
pkgdesc="Re-implementation of the utmpx.h family of functions for musl"
|
|
arch=("x86_64")
|
|
url="https://skarnet.org/software/utmps/"
|
|
license=("ISC")
|
|
depends=("skalibs")
|
|
source=("https://skarnet.org/software/utmps/utmps-$pkgver.tar.gz")
|
|
sha256sums=("f7ffa3714c65973bb95fbcf1501c06fc0478d93a51cea1b373ec6811c2425f52")
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-shared \
|
|
--enabled-static \
|
|
--libdir=/usr/lib \
|
|
--enable-libc-includes \
|
|
--enable-nsss
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
|
|
make DESTDIR=$pkgdir install
|
|
}
|