[arch-commits] Commit in libasyncns/trunk (PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Wed May 18 17:21:15 UTC 2022
Date: Wednesday, May 18, 2022 @ 17:21:14
Author: heftig
Revision: 445993
0.8+r3+g68cd5af-1
Modified:
libasyncns/trunk/PKGBUILD
----------+
PKGBUILD | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-18 17:13:32 UTC (rev 445992)
+++ PKGBUILD 2022-05-18 17:21:14 UTC (rev 445993)
@@ -1,4 +1,4 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
# Contributor: Corrado Primier <bardo at aur.archlinux.org>
# Contributor: Eric Belanger <belanger at astro.umontreal.ca>
# Contributor: William Rea <sillywilly at gmail.com>
@@ -5,30 +5,32 @@
# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
pkgname=libasyncns
-pkgver=0.8+3+g68cd5af
-pkgrel=3
+pkgver=0.8+r3+g68cd5af
+pkgrel=1
+epoch=1
pkgdesc="A C library for executing name service queries asynchronously"
+url="https://0pointer.de/lennart/projects/libasyncns/"
arch=(x86_64)
-url="http://0pointer.de/lennart/projects/libasyncns"
license=(LGPL)
depends=(glibc)
makedepends=(git lynx)
-_commit=68cd5aff1467638c086f1bedcc750e34917168e4
+options=(debug)
+_commit=68cd5aff1467638c086f1bedcc750e34917168e4 # master
source=("git://git.0pointer.de/libasyncns.git#commit=$_commit")
md5sums=('SKIP')
pkgver() {
- cd $pkgname
- git describe | sed 's/^v//;s/-/+/g'
+ cd libasyncns
+ git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
- cd $pkgname
+ cd libasyncns
NOCONFIGURE=1 ./bootstrap.sh
}
build() {
- cd $pkgname
+ cd libasyncns
./configure --prefix=/usr
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
@@ -35,6 +37,6 @@
}
package() {
- cd $pkgname
+ cd libasyncns
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list