[arch-commits] Commit in libndp/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 16 11:51:45 UTC 2020
Date: Saturday, May 16, 2020 @ 11:51:45
Author: foutrelis
Revision: 384366
archrelease: copy trunk to staging-x86_64
Added:
libndp/repos/staging-x86_64/
libndp/repos/staging-x86_64/PKGBUILD
(from rev 384365, libndp/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: libndp/repos/staging-x86_64/PKGBUILD (from rev 384365, libndp/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-16 11:51:45 UTC (rev 384366)
@@ -0,0 +1,41 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=libndp
+pkgver=1.7
+pkgrel=2
+pkgdesc="Library for Neighbor Discovery Protocol"
+arch=(x86_64)
+url="http://libndp.org/"
+license=(LGPL2.1)
+depends=(glibc)
+makedepends=(git)
+_commit=96674e7d4f4d569c2c961e865cc16152dfab5f09 # tags/v1.7
+source=("git+https://github.com/jpirko/libndp#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static --libexecdir=/usr/lib
+ make
+}
+
+check() {
+ cd $pkgname
+ make check
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list