pkgs/utmps/PKGBUILD

32 lines
630 B
Bash
Raw Permalink Normal View History

2023-12-12 07:46:03 +00:00
# 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 \
2023-12-13 10:05:01 +00:00
--enable-libc-includes
2023-12-12 07:46:03 +00:00
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
}