1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
2 # Contributor: Corrado Primier <bardo@aur.archlinux.org>
3 # Contributor: Eric Belanger <belanger@astro.umontreal.ca>
4 # Contributor: William Rea <sillywilly@gmail.com>
5 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
10 pkgdesc="A C library for executing name service queries asynchronously"
12 url="http://0pointer.de/lennart/projects/libasyncns"
15 makedepends=(git lynx)
16 _commit=68cd5aff1467638c086f1bedcc750e34917168e4
17 source=("git://git.0pointer.de/libasyncns.git#commit=$_commit")
22 git describe | sed 's/^v//;s/-/+/g'
27 NOCONFIGURE=1 ./bootstrap.sh
32 ./configure --prefix=/usr
33 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
39 make DESTDIR="$pkgdir" install