[arch-commits] Commit in fmt/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Wed Dec 5 17:13:50 UTC 2018


    Date: Wednesday, December 5, 2018 @ 17:13:49
  Author: alucryd
Revision: 341071

archrelease: copy trunk to extra-x86_64

Added:
  fmt/repos/extra-x86_64/PKGBUILD
    (from rev 341070, fmt/trunk/PKGBUILD)
Deleted:
  fmt/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 54 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-05 17:13:41 UTC (rev 341070)
+++ PKGBUILD	2018-12-05 17:13:49 UTC (rev 341071)
@@ -1,48 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Mihai Bişog <mihai.bisog at gmail.com>
-pkgname=fmt
-pkgver=5.2.1
-pkgrel=2
-pkgdesc='Open-source formatting library for C++'
-arch=(x86_64)
-url='http://fmtlib.net'
-license=(BSD)
-makedepends=(
-  cmake
-  git
-  ninja
-)
-provides=(libfmt.so)
-
-source=(git+https://github.com/fmtlib/fmt.git#tag=${pkgver})
-sha256sums=(SKIP)
-
-prepare() {
-  if [[ -d build ]]; then
-    rm -rf build
-  fi
-  mkdir build
-}
-
-build() {
-  cd build
-
-  cmake ../fmt \
-    -G Ninja \
-    -DCMAKE_BUILD_TYPE='Release' \
-    -DCMAKE_INSTALL_PREFIX='/usr' \
-    -DCMAKE_INSTALL_LIBDIR='/usr/lib' \
-    -DBUILD_SHARED_LIBS='1'
-  cmake --build .
-}
-
-check() {
-  cmake --build build --target test
-}
-
-package() {
-  DESTDIR="${pkgdir}" cmake --build build --target install
-  install -Dm 644 fmt/LICENSE.rst -t "${pkgdir}"/usr/share/licenses/fmt
-}
-
-# vim: ts=2 sw=2 et:

Copied: fmt/repos/extra-x86_64/PKGBUILD (from rev 341070, fmt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-12-05 17:13:49 UTC (rev 341071)
@@ -0,0 +1,54 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Mihai Bişog <mihai.bisog at gmail.com>
+pkgname=fmt
+pkgver=5.2.1
+pkgrel=3
+pkgdesc='Open-source formatting library for C++'
+arch=(x86_64)
+url='http://fmtlib.net'
+license=(BSD)
+makedepends=(
+  cmake
+  git
+  ninja
+)
+provides=(libfmt.so)
+
+source=(git+https://github.com/fmtlib/fmt.git#tag=${pkgver})
+sha256sums=(SKIP)
+
+prepare() {
+  if [[ -d build ]]; then
+    rm -rf build
+  fi
+  mkdir build
+
+  cd fmt
+
+  # backport the pc file
+  git cherry-pick -n 9d0c9c4bb145a286f725cd38c90331eee7addc7f
+  git cherry-pick -n 0835f1ba3b538f4e7603976419d5be8b17394cb5
+}
+
+build() {
+  cd build
+
+  cmake ../fmt \
+    -G Ninja \
+    -DCMAKE_BUILD_TYPE='Release' \
+    -DCMAKE_INSTALL_PREFIX='/usr' \
+    -DCMAKE_INSTALL_LIBDIR='/usr/lib' \
+    -DBUILD_SHARED_LIBS='1'
+  cmake --build .
+}
+
+check() {
+  cmake --build build --target test
+}
+
+package() {
+  DESTDIR="${pkgdir}" cmake --build build --target install
+  install -Dm 644 fmt/LICENSE.rst -t "${pkgdir}"/usr/share/licenses/fmt
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list