[arch-commits] Commit in fmt/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Sun Dec 30 16:31:59 UTC 2018
Date: Sunday, December 30, 2018 @ 16:31:58
Author: alucryd
Revision: 342809
archrelease: copy trunk to extra-x86_64
Added:
fmt/repos/extra-x86_64/PKGBUILD
(from rev 342808, fmt/trunk/PKGBUILD)
Deleted:
fmt/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 48 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-12-30 16:31:52 UTC (rev 342808)
+++ PKGBUILD 2018-12-30 16:31:58 UTC (rev 342809)
@@ -1,54 +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=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:
Copied: fmt/repos/extra-x86_64/PKGBUILD (from rev 342808, fmt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-12-30 16:31:58 UTC (rev 342809)
@@ -0,0 +1,48 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Mihai Bişog <mihai.bisog at gmail.com>
+pkgname=fmt
+pkgver=5.3.0
+pkgrel=1
+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:
More information about the arch-commits
mailing list