summaryrefslogtreecommitdiffstats
path: root/libnsl/MAKEPKG
blob: d89cfd930e385714250578d908ecef3de321a603 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/mkpkg
# description: Public client interface library for NIS(YP) and NIS+ from glibc
# url: https://github.com/thkukuk/libnsl

name=libnsl
version=2.0.1
release=1
depends=(libtirpc)
makedeps=(autoconf)
source=(https://github.com/thkukuk/libnsl/releases/download/v$version/$name-$version.tar.xz)

sha256sums=(
    "5c9e470b232a7acd3433491ac5221b4832f0c71318618dc6aa04dd05ffcd8fd9"
)

build() {
    cd $name-$version

    ./configure --prefix=/usr
    
    make
    make DESTDIR=$PKG install

    rm -f $PKG/usr/lib/*.la
}

# vim: filetype=sh