#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=libasyncns pkgver=0.8 zenver=66 pkgrel=1 arch=i486 source=("http://0pointer.de/lennart/projects/libasyncns/$pkgname-$pkgver.tar.gz") docs=("readme" "license") url=http://0pointer.de/lennart/projects/libasyncns/ sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/$pkgname options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libasyncns (Name service queries asynchronously Library)" "Libasyncns is a C library for Linux/Unix for executing name service" "queries asynchronously. It is an asynchronous wrapper around" "getaddrinfo(3), getnameinfo(3), res_query(3) and res_search(3) from" "libc and libresolv." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --disable-static make || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/doc/$pkgname-$pkgver mv $startdir/pkg/usr/share/doc/libasyncns/* $startdir/pkg/usr/doc/$pkgname-$pkgver rm -rf $startdir/pkg/usr/share }