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

Brett Cornwall ainola at archlinux.org
Mon Jul 15 23:42:59 UTC 2019


    Date: Monday, July 15, 2019 @ 23:42:59
  Author: ainola
Revision: 489888

spdlog: Don't patch out bundled fmt headers

Modified:
  spdlog/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-15 21:13:51 UTC (rev 489887)
+++ PKGBUILD	2019-07-15 23:42:59 UTC (rev 489888)
@@ -4,7 +4,7 @@
 
 pkgname=spdlog
 pkgver=1.3.1
-pkgrel=2
+pkgrel=3
 pkgdesc='Very fast, header-only/compiled, C++ logging library'
 arch=('any')
 url='https://github.com/gabime/spdlog'
@@ -12,17 +12,11 @@
 makedepends=('cmake' 'fmt')
 source=(
     "$pkgname-$pkgver.tar.gz::https://github.com/gabime/spdlog/archive/v$pkgver.tar.gz"
-    rm_bundled_fmt.patch
 )
-sha256sums=('160845266e94db1d4922ef755637f6901266731c4cb3b30b45bf41efa0e6ab70'
-            '2eee548ad3b12f48c1e6175a0af4f94d942244d4b2eb8351fccac6f53523b80c')
+sha256sums=('160845266e94db1d4922ef755637f6901266731c4cb3b30b45bf41efa0e6ab70')
 
 prepare() {
-    mkdir -p build
-
-    # Don't duplicate code from another project...
-    # https://github.com/gabime/spdlog/issues/1146
-    patch -d "$pkgname-$pkgver" -p1 < rm_bundled_fmt.patch
+    mkdir build
 }
 
 build() {
@@ -46,7 +40,4 @@
     cd build
     make DESTDIR="$pkgdir" install
     install -Dm644 ../"$pkgname-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/"
-
-    # Prevent usage of these bundled headers
-    rm -r "$pkgdir/usr/include/spdlog/fmt/bundled/"
 }



More information about the arch-commits mailing list