[arch-commits] Commit in docopt/repos/community-x86_64 (4 files)

Alexander Rødseth arodseth at archlinux.org
Fri May 29 08:24:46 UTC 2020


    Date: Friday, May 29, 2020 @ 08:24:45
  Author: arodseth
Revision: 636976

archrelease: copy trunk to community-x86_64

Added:
  docopt/repos/community-x86_64/PKGBUILD
    (from rev 636975, docopt/trunk/PKGBUILD)
  docopt/repos/community-x86_64/docopt.pc
    (from rev 636975, docopt/trunk/docopt.pc)
Deleted:
  docopt/repos/community-x86_64/PKGBUILD
  docopt/repos/community-x86_64/docopt.pc

-----------+
 PKGBUILD  |   76 ++++++++++++++++++++++++++++++------------------------------
 docopt.pc |   18 +++++++-------
 2 files changed, 47 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-29 08:24:37 UTC (rev 636975)
+++ PKGBUILD	2020-05-29 08:24:45 UTC (rev 636976)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-
-pkgname=docopt
-pkgver=0.6.2
-pkgrel=1
-pkgdesc='Command line arguments parser for C++11 and later'
-arch=('x86_64')
-url='https://github.com/docopt/docopt.cpp/'
-license=('MIT')
-makedepends=('cmake' 'git' 'ninja' 'setconf')
-source=('git+https://github.com/docopt/docopt.cpp.git#commit=4f491249e6def236937dbfac7602852e7d99aff8'
-        'docopt.pc')
-sha256sums=('SKIP'
-            'bec63bdb0313610f0d8fc55b508a0c3a4c593fa58c4c6a7241326a9cfb909853')
-
-prepare() {
-  setconf docopt.pc Version "$pkgver"
-}
-
-build() {
-  mkdir -p build
-  cd build
-  cmake ../docopt.cpp \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib \
-    -GNinja
-  ninja
-}
-
-package() {
-  DESTDIR="$pkgdir" ninja -C build install
-  install -Dm644 docopt.cpp/LICENSE-MIT "$pkgdir/usr/share/licenses/docopt/LICENSE"
-  install -Dm644 docopt.pc "$pkgdir/usr/lib/pkgconfig/docopt.pc"
-}
-
-# vim: ts=2 sw=2 et:

Copied: docopt/repos/community-x86_64/PKGBUILD (from rev 636975, docopt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-29 08:24:45 UTC (rev 636976)
@@ -0,0 +1,38 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+
+pkgname=docopt
+pkgver=0.6.2
+pkgrel=2
+pkgdesc='Command line arguments parser for C++11 and later'
+arch=('x86_64')
+url='https://github.com/docopt/docopt.cpp/'
+license=('MIT')
+makedepends=(cmake git ninja setconf)
+source=("git+$url#commit=89d06c36616e4dd9a2aeb0b655b12b03da4c29fc" # tag: v0.6.2
+        docopt.pc)
+sha256sums=('SKIP'
+            'bec63bdb0313610f0d8fc55b508a0c3a4c593fa58c4c6a7241326a9cfb909853')
+
+prepare() {
+  setconf docopt.pc Version "$pkgver"
+  sed -i '/<string>/i #include <stdexcept>' docopt.cpp/docopt_value.h
+}
+
+build() {
+  mkdir -p build
+  cd build
+  cmake ../docopt.cpp \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -GNinja
+  ninja
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+  install -Dm644 docopt.cpp/LICENSE-MIT "$pkgdir/usr/share/licenses/docopt/LICENSE"
+  install -Dm644 docopt.pc "$pkgdir/usr/lib/pkgconfig/docopt.pc"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: docopt.pc
===================================================================
--- docopt.pc	2020-05-29 08:24:37 UTC (rev 636975)
+++ docopt.pc	2020-05-29 08:24:45 UTC (rev 636976)
@@ -1,9 +0,0 @@
-prefix=/usr
-libdir=${prefix}/lib
-includedir=${prefix}/include/docopt
-
-Name: docopt
-Description: docopt headers and library
-Version: 0.6.2
-Libs: -L${libdir} -ldocopt
-Cflags: -I${includedir}

Copied: docopt/repos/community-x86_64/docopt.pc (from rev 636975, docopt/trunk/docopt.pc)
===================================================================
--- docopt.pc	                        (rev 0)
+++ docopt.pc	2020-05-29 08:24:45 UTC (rev 636976)
@@ -0,0 +1,9 @@
+prefix=/usr
+libdir=${prefix}/lib
+includedir=${prefix}/include/docopt
+
+Name: docopt
+Description: docopt headers and library
+Version: 0.6.2
+Libs: -L${libdir} -ldocopt
+Cflags: -I${includedir}


More information about the arch-commits mailing list