[arch-commits] Commit in lib32-libndp/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Sun Sep 30 09:25:10 UTC 2018
Date: Sunday, September 30, 2018 @ 09:25:10
Author: alucryd
Revision: 388446
upgpkg: lib32-libndp 1.7-1
Modified:
lib32-libndp/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-30 09:19:28 UTC (rev 388445)
+++ PKGBUILD 2018-09-30 09:25:10 UTC (rev 388446)
@@ -3,7 +3,7 @@
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
pkgname=lib32-libndp
-pkgver=1.6
+pkgver=1.7
pkgrel=1
pkgdesc='Library for Neighbor Discovery Protocol'
arch=('x86_64')
@@ -10,12 +10,18 @@
url='http://libndp.org/'
license=('LGPL2.1')
depends=('lib32-glibc' 'libndp')
-makedepends=('gcc-multilib')
-source=("http://libndp.org/files/libndp-$pkgver.tar.gz")
-sha256sums=('0c7dfa84e013bd5e569ef2c6292a6f72cfaf14f4ff77a77425e52edc33ffac0e')
+makedepends=('git')
+source=("git+https://github.com/jpirko/libndp.git#tag=v${pkgver}")
+sha256sums=('SKIP')
+prepare() {
+ cd libndp
+
+ ./autogen.sh
+}
+
build() {
- cd libndp-${pkgver}
+ cd libndp
export CC='gcc -m32'
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
@@ -31,9 +37,7 @@
}
package() {
- cd libndp-${pkgver}
-
- make DESTDIR="${pkgdir}" install
+ make DESTDIR="${pkgdir}" -C libndp install
rm -rf "${pkgdir}"/usr/{bin,include,share}
}
More information about the arch-commits
mailing list