1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
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>
11 pkgdesc="A C library for executing name service queries asynchronously"
12 url="https://0pointer.net/lennart/projects/libasyncns/"
16 makedepends=(git lynx)
17 _commit=68cd5aff1467638c086f1bedcc750e34917168e4 # master
18 source=("git+https://git.0pointer.net/clone/libasyncns.git#commit=$_commit")
23 git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
28 NOCONFIGURE=1 ./bootstrap.sh
33 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
35 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
41 make DESTDIR="$pkgdir" install
44 # vim:set sw=2 sts=-1 et: