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

Maxime Gauduin alucryd at archlinux.org
Wed Aug 5 07:55:10 UTC 2020


    Date: Wednesday, August 5, 2020 @ 07:55:10
  Author: alucryd
Revision: 393159

upgpkg: fmt 7.0.2-1

Modified:
  fmt/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++-------------
 1 file changed, 6 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-05 06:46:37 UTC (rev 393158)
+++ PKGBUILD	2020-08-05 07:55:10 UTC (rev 393159)
@@ -2,8 +2,8 @@
 # Contributor: Mihai Bişog <mihai.bisog at gmail.com>
 
 pkgname=fmt
-pkgver=6.2.1
-pkgrel=3
+pkgver=7.0.2
+pkgrel=1
 pkgdesc='Open-source formatting library for C++'
 arch=(x86_64)
 url=https://fmt.dev
@@ -19,10 +19,10 @@
   python-virtualenv
 )
 provides=(libfmt.so)
-source=(git+https://github.com/fmtlib/fmt.git#tag=19bd751020a1f3c3363b2eb67a039852f139a8d3
-        dont-install-doctrees.patch) # https://github.com/fmtlib/fmt/commit/8f2b5fe74d34ba8bb20a362a4daa6cc5a99a2010
+_tag=b9d749095e3397f154e2938f96dd11912f2d9300
+source=(git+https://github.com/fmtlib/fmt.git#tag=${_tag})
+b2sums=(SKIP)
 
-
 pkgver() {
   cd fmt
 
@@ -32,15 +32,10 @@
 prepare() {
   npm install less less-plugin-clean-css
   sed "s/'lessc',/'npx', 'lessc',/" -i fmt/doc/build.py
-
-  # Don't install sphinx cache doctrees directory
-  cd fmt
-  patch -Np1 -i ${srcdir}/dont-install-doctrees.patch
 }
 
 build() {
-  cmake -S fmt -B build \
-    -G Ninja \
+  cmake -S fmt -B build -G Ninja \
     -DCMAKE_BUILD_TYPE=None \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_LIBDIR=/usr/lib \
@@ -59,5 +54,3 @@
 }
 
 # vim: ts=2 sw=2 et:
-md5sums=('SKIP'
-         'f29b10877482313f98456cc2674c0c37')



More information about the arch-commits mailing list