pkgs/nsss/PKGBUILD

29 lines
614 B
Bash

# Maintainer: Daryl Ronningen <relms@relms.dev>
pkgname=nsss
pkgver=0.2.0.4
pkgrel=1
pkgdesc="nsss is an implementation of a subset of the pwd.h, group.h and shadow.h family of functions"
arch=("x86_64")
url="https://skarnet.org/software/nsss/"
license=("ISC")
depends=("skalibs")
source=("https://skarnet.org/software/nsss/nsss-$pkgver.tar.gz")
sha256sums=("39b504f85bd8f6b523d334e5cfa62c02a395db35991b75f206df0abbd6761aad")
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--enable-shared \
--enable-libc-includes
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
}