summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwillemw122015-12-31 14:46:55 +0100
committerwillemw122015-12-31 14:46:55 +0100
commit7028443c67f979186fbf5012cabc7591f0af0260 (patch)
treecddb6959447ea97dcc67f2623355e966ef40e97e
parent58f57a6d1df90ce57e7de804c928c128bc6cf4ac (diff)
downloadaur-7028443c67f979186fbf5012cabc7591f0af0260.tar.gz
Add libconfig. Fix libconfig.h configure error.
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD11
2 files changed, 13 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 38d8c7de1e6..d90a6ebd72f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,15 @@
+# Generated by mksrcinfo v8
+# Thu Dec 31 13:46:23 UTC 2015
pkgbase = ngp-git
pkgdesc = Ncurses grep tool
- pkgver = 1.2.r12.g025ab10
+ pkgver = 1.3.r30.g8d134cd
pkgrel = 1
url = https://github.com/jonathanklee/ngp
arch = i686
arch = x86_64
license = GPL
makedepends = git
+ makedepends = libconfig
depends = ncurses
provides = ngp
conflicts = ngp
diff --git a/PKGBUILD b/PKGBUILD
index 5f2588f3cd4..de45fefd26e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@
_pkgname=ngp
pkgname=$_pkgname-git
-pkgver=1.2.r12.g025ab10
+pkgver=1.3.r30.g8d134cd
pkgrel=1
pkgdesc="Ncurses grep tool"
arch=('i686' 'x86_64')
url="https://github.com/jonathanklee/ngp"
license=('GPL')
depends=('ncurses')
-makedepends=('git')
+makedepends=('git' 'libconfig')
provides=($_pkgname)
conflicts=($_pkgname)
source=($pkgname::git://github.com/jonathanklee/ngp.git)
@@ -22,6 +22,13 @@ pkgver() {
build() {
cd $pkgname
+
+ # Fix libconfig.h configure error: _FORTIFY_SOURCE requires compiling with optimization (-O)"
+ #CFLAGS="$CFLAGS $CPPFLAGS"
+ #unset CPPFLAGS
+ # OR
+ CPPFLAGS="$CPPFLAGS -O2"
+
./autogen.sh
./configure --prefix=/usr
make