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

Maxime Gauduin alucryd at archlinux.org
Tue Dec 10 20:54:33 UTC 2019


    Date: Tuesday, December 10, 2019 @ 20:54:32
  Author: alucryd
Revision: 370634

upgpkg: fmt 6.1.1-1

Modified:
  fmt/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-10 19:34:44 UTC (rev 370633)
+++ PKGBUILD	2019-12-10 20:54:32 UTC (rev 370634)
@@ -1,11 +1,12 @@
 # Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 # Contributor: Mihai Bişog <mihai.bisog at gmail.com>
+
 pkgname=fmt
-pkgver=6.0.0
+pkgver=6.1.1
 pkgrel=1
 pkgdesc='Open-source formatting library for C++'
 arch=(x86_64)
-url='http://fmtlib.net'
+url=https://fmtlib.net
 license=(BSD)
 makedepends=(
   cmake
@@ -13,10 +14,15 @@
   ninja
 )
 provides=(libfmt.so)
+source=(git+https://github.com/fmtlib/fmt.git#tag=071794ec654a7c503b6214de4032c8ec8a07440b)
+sha256sums=(SKIP)
 
-source=(git+https://github.com/fmtlib/fmt.git#tag=${pkgver})
-sha256sums=('SKIP')
+pkgver() {
+  cd fmt
 
+  git describe --tags
+}
+
 prepare() {
   if [[ -d build ]]; then
     rm -rf build
@@ -29,10 +35,9 @@
 
   cmake ../fmt \
     -G Ninja \
-    -DCMAKE_BUILD_TYPE='Release' \
-    -DCMAKE_INSTALL_PREFIX='/usr' \
-    -DCMAKE_INSTALL_LIBDIR='/usr/lib' \
-    -DBUILD_SHARED_LIBS='1'
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+    -DBUILD_SHARED_LIBS=1
   cmake --build .
 }
 



More information about the arch-commits mailing list