[arch-commits] Commit in cppcodec/repos/extra-any (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Mon May 25 23:40:24 UTC 2020


    Date: Monday, May 25, 2020 @ 23:40:24
  Author: anthraxx
Revision: 387534

archrelease: copy trunk to extra-any

Added:
  cppcodec/repos/extra-any/PKGBUILD
    (from rev 387533, cppcodec/trunk/PKGBUILD)
Deleted:
  cppcodec/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++-----------------------------------
 1 file changed, 38 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-25 23:39:44 UTC (rev 387533)
+++ PKGBUILD	2020-05-25 23:40:24 UTC (rev 387534)
@@ -1,48 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgname=cppcodec
-_gitcommit=302dc28f8fd5c8bf2ea8d7212aed3be884d5d166
-pkgver=0.2
-pkgrel=2
-pkgdesc='Header-only C++11 library to encode/decode base64, base64url, base32, base32hex and hex'
-url='https://github.com/tplgy/cppcodec'
-arch=('any')
-license=('MIT')
-makedepends=('git' 'cmake' 'catch2')
-source=("${pkgname}::git+https://github.com/tplgy/cppcodec#commit=${_gitcommit}?signed")
-sha512sums=('SKIP')
-validpgpkeys=('5DE3E0509C47EA3CF04A42D34AEE18F83AFDEB23') # GitHub (web-flow commit signing) <noreply at github.com>
-
-pkgver() {
-  cd ${pkgname}
-  git describe --always --tags | sed 's/^v//;s/-/+/g'
-}
-
-
-prepare() {
-  cd ${pkgname}
-  mkdir -p build
-}
-
-build() {
-  cd ${pkgname}/build
-  cmake .. \
-        -DCMAKE_BUILD_TYPE=Release \
-        -DCMAKE_INSTALL_PREFIX=/usr
-  make
-}
-
-check() {
-  cd ${pkgname}/build
-  make test
-}
-
-package() {
-  cd ${pkgname}
-  make -C build DESTDIR="${pkgdir}" install
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 example/* -t "${pkgdir}/usr/share/doc/${pkgname}/example"
-}
-
-# vim: ts=2 sw=2 et:

Copied: cppcodec/repos/extra-any/PKGBUILD (from rev 387533, cppcodec/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-25 23:40:24 UTC (rev 387534)
@@ -0,0 +1,38 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=cppcodec
+pkgver=0.2
+pkgrel=3
+pkgdesc='Header-only C++11 library to encode/decode base64, base64url, base32, base32hex and hex'
+url='https://github.com/tplgy/cppcodec'
+arch=('any')
+license=('MIT')
+makedepends=('cmake' 'catch2')
+source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('50c9c81cdb12560c87e513e1fd22c1ad24ea37b7d20a0e3044d43fb887f4c6494c69468e4d0811cd2fc1ae8fdb01b01cfb9f3cfdd8611d4bb0221cbd38cbead3')
+b2sums=('248487326d3fafb104d469d16cddab86fe63dec6eecb74af6211c262a42ff8806ee97619459f9dca648107748e30268206e84d64efba47a9ea1c398eb4c06919')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  cmake \
+    -DCMAKE_BUILD_TYPE=None \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -Wno-dev \
+    -B build
+  make -C build
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make -C build test
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make -C build DESTDIR="${pkgdir}" install
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 example/* -t "${pkgdir}/usr/share/doc/${pkgname}/example"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list