archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libnss_nis / trunk / PKGBUILD
blob743dc7c8f0b3eee16280a639c514505984695692
1 # Maintainer: BartÅ‚omiej Piotrowski <bpiotrowski@archlinux.org>
3 pkgname=libnss_nis
4 pkgver=3.1
5 pkgrel=4
6 pkgdesc='NSS NIS plugin for glibc'
7 arch=(x86_64)
8 url='https://github.com/thkukuk/libnss_nis'
9 license=('LGPL2.1')
10 depends=(libnsl libtirpc)
11 source=($pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz)
12 sha256sums=('39a67eaf38f338bc6d89deabeee72481f415e71ea3f97d28ef62f288ccea9216')
14 prepare() {
15   cd $pkgname-$pkgver
16   ./autogen.sh
19 build() {
20   cd $pkgname-$pkgver
21   ./configure --prefix=/usr
22   make
25 package() {
26   cd $pkgname-$pkgver
27   make DESTDIR="$pkgdir" install