[arch-commits] Commit in libasyncns/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 23:39:55 UTC 2018


    Date: Friday, November 9, 2018 @ 23:39:55
  Author: foutrelis
Revision: 338785

archrelease: copy trunk to staging-x86_64

Added:
  libasyncns/repos/staging-x86_64/
  libasyncns/repos/staging-x86_64/PKGBUILD
    (from rev 338784, libasyncns/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: libasyncns/repos/staging-x86_64/PKGBUILD (from rev 338784, libasyncns/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-11-09 23:39:55 UTC (rev 338785)
@@ -0,0 +1,40 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Corrado Primier <bardo at aur.archlinux.org>
+# Contributor: Eric Belanger <belanger at astro.umontreal.ca>
+# Contributor: William Rea <sillywilly at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=libasyncns
+pkgver=0.8+3+g68cd5af
+pkgrel=2
+pkgdesc="A C library for executing name service queries asynchronously"
+arch=(x86_64)
+url="http://0pointer.de/lennart/projects/libasyncns"
+license=(LGPL)
+depends=(glibc)
+makedepends=(git lynx)
+_commit=68cd5aff1467638c086f1bedcc750e34917168e4
+source=("git://git.0pointer.de/libasyncns.git#commit=$_commit")
+md5sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./bootstrap.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list