[arch-commits] Commit in fmt/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Tue Dec 10 20:54:38 UTC 2019
Date: Tuesday, December 10, 2019 @ 20:54:38
Author: alucryd
Revision: 370635
archrelease: copy trunk to extra-x86_64
Added:
fmt/repos/extra-x86_64/PKGBUILD
(from rev 370634, fmt/trunk/PKGBUILD)
Deleted:
fmt/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 101 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 53 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-10 20:54:32 UTC (rev 370634)
+++ PKGBUILD 2019-12-10 20:54:38 UTC (rev 370635)
@@ -1,48 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Mihai Bişog <mihai.bisog at gmail.com>
-pkgname=fmt
-pkgver=6.0.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:
Copied: fmt/repos/extra-x86_64/PKGBUILD (from rev 370634, fmt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-12-10 20:54:38 UTC (rev 370635)
@@ -0,0 +1,53 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Mihai Bişog <mihai.bisog at gmail.com>
+
+pkgname=fmt
+pkgver=6.1.1
+pkgrel=1
+pkgdesc='Open-source formatting library for C++'
+arch=(x86_64)
+url=https://fmtlib.net
+license=(BSD)
+makedepends=(
+ cmake
+ git
+ ninja
+)
+provides=(libfmt.so)
+source=(git+https://github.com/fmtlib/fmt.git#tag=071794ec654a7c503b6214de4032c8ec8a07440b)
+sha256sums=(SKIP)
+
+pkgver() {
+ cd fmt
+
+ git describe --tags
+}
+
+prepare() {
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build
+}
+
+build() {
+ cd build
+
+ cmake ../fmt \
+ -G Ninja \
+ -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