[arch-commits] Commit in pegtl/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Fri May 15 19:09:57 UTC 2020


    Date: Friday, May 15, 2020 @ 19:09:56
  Author: anthraxx
Revision: 628079

upgpkg: pegtl 2.8.3-1

Modified:
  pegtl/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-15 19:02:38 UTC (rev 628078)
+++ PKGBUILD	2020-05-15 19:09:56 UTC (rev 628079)
@@ -1,8 +1,8 @@
 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
 
 pkgname=pegtl
-_gitcommit=7aff80da2ca4fcb0b47f32ba684ff2e1cd48c579
-pkgver=2.8.1
+_gitcommit=47e878ad4fd72c91253c9d47b6f17e001ca2dfcf
+pkgver=2.8.3
 pkgrel=1
 pkgdesc='Parsing Expression Grammar Template Library'
 url='https://github.com/taocpp/PEGTL'
@@ -18,14 +18,9 @@
   git describe --tags --always| sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
 }
 
-prepare() {
+build() {
   cd ${pkgname}
-  mkdir -p build
-}
-
-build() {
-  cd ${pkgname}/build
-  cmake .. \
+  cmake -B build \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_BUILD_TYPE=None \
     -DPEGTL_INSTALL_DOC_DIR=share/doc/${pkgname} \
@@ -32,7 +27,7 @@
     -DPEGTL_INSTALL_CMAKE_DIR=lib/cmake/${pkgname} \
     -DPEGTL_BUILD_EXAMPLES=OFF \
     -DPEGTL_BUILD_TESTS=ON
-  make
+  make -C build VERRBOSE=1
 }
 
 check() {



More information about the arch-commits mailing list