summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD11
2 files changed, 5 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9d9581c264d..8c7f0d1faf1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,12 @@
pkgbase = ngp-git
pkgdesc = Ncurses grep tool
- pkgver = 1.3.r61.g80dd78b
+ pkgver = 1.3.r98.g25e0fe5
pkgrel = 1
url = https://github.com/jonathanklee/ngp
arch = i686
arch = x86_64
license = GPL
+ makedepends = cmake
makedepends = git
makedepends = libconfig
depends = ncurses
diff --git a/PKGBUILD b/PKGBUILD
index 4995c9b0de0..a05d028ca0e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@
_pkgname=ngp
pkgname=$_pkgname-git
-pkgver=1.3.r61.g80dd78b
+pkgver=1.3.r98.g25e0fe5
pkgrel=1
pkgdesc="Ncurses grep tool"
arch=('i686' 'x86_64')
url="https://github.com/jonathanklee/ngp"
license=('GPL')
depends=('ncurses')
-makedepends=('git' 'libconfig')
+makedepends=('cmake' 'git' 'libconfig')
provides=($_pkgname)
conflicts=($_pkgname)
source=($pkgname::git://github.com/jonathanklee/ngp.git)
@@ -22,12 +22,7 @@ pkgver() {
build() {
cd $pkgname
-
- # Ignore warning
- CFLAGS="$CFLAGS -Wno-error=misleading-indentation"
-
- ./autogen.sh
- ./configure --prefix=/usr
+ cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
}