Date: Monday, January 10, 2022 @ 15:57:53 Author: alucryd Revision: 1099383
archrelease: copy trunk to community-x86_64 Added: crypto++/repos/community-x86_64/PKGBUILD (from rev 1099382, crypto++/trunk/PKGBUILD) Deleted: crypto++/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 96 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-01-10 15:57:48 UTC (rev 1099382) +++ PKGBUILD 2022-01-10 15:57:53 UTC (rev 1099383) @@ -1,48 +0,0 @@ -# Maintainer: Maxime Gauduin <aluc...@archlinux.org> -# Contributor: Baptiste Jonglez <archlinux at bitsofnetworks.org> -# Contributor: Giovanni Scafora <giova...@archlinux.org> -# Contributor: Alexander Rødseth <rods...@gmail.com> -# Contributor: Andrea Scarpino <and...@archlinux.org> -# Contributor: Kritoke <krit...@gamebox.net> -# Contributor: jlvsimoes <jlvsim...@oninet.pt> - -pkgname=crypto++ -pkgver=8.5.0 -pkgrel=2 -pkgdesc='A free C++ class library of cryptographic schemes' -arch=(x86_64) -url=https://www.cryptopp.com/ -license=(custom) -depends=(gcc-libs) -makedepends=( - git - unzip -) -_tag=f2102243e6fdd48c0b2a393a0993cca228f20573 -source=(git+https://github.com/weidai11/cryptopp.git#tag=${_tag}) -b2sums=(SKIP) -validpgpkeys=(B8CC19802062211A508B2F5CCE0586AF1F8E37BD) # Jeffrey Walton <noloa...@gmail.com> - -pkgver() { - cd cryptopp - git describe --tags | sed 's/^CRYPTOPP_//; s/_/./g' -} - -build() { - export CXXFLAGS="$CXXFLAGS -DNDEBUG -fPIC" - make PREFIX=/usr -C cryptopp dynamic cryptest.exe libcryptopp.pc -} - -check() { - make PREFIX=/usr -C cryptopp test -} - -package() { - make DESTDIR="${pkgdir}" PREFIX=/usr -C cryptopp install - install -Dm 644 cryptopp/License.txt -t "${pkgdir}"/usr/share/licenses/crypto++/ - # Remove cryptest.exe and test files, only needed for check() and bloats the package - # because cryptest.exe is linked statically. - rm -rf "${pkgdir}"/usr/{bin,share/cryptopp} -} - -# vim: ts=2 sw=2 et: Copied: crypto++/repos/community-x86_64/PKGBUILD (from rev 1099382, crypto++/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-01-10 15:57:53 UTC (rev 1099383) @@ -0,0 +1,48 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: Baptiste Jonglez <archlinux at bitsofnetworks.org> +# Contributor: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Alexander Rødseth <rods...@gmail.com> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Kritoke <krit...@gamebox.net> +# Contributor: jlvsimoes <jlvsim...@oninet.pt> + +pkgname=crypto++ +pkgver=8.6.0 +pkgrel=1 +pkgdesc='A free C++ class library of cryptographic schemes' +arch=(x86_64) +url=https://www.cryptopp.com/ +license=(custom) +depends=(gcc-libs) +makedepends=( + git + unzip +) +_tag=69bf6b53052b59ccb57ce068ce741988ae087317 +source=(git+https://github.com/weidai11/cryptopp.git#tag=${_tag}) +b2sums=(SKIP) +validpgpkeys=(B8CC19802062211A508B2F5CCE0586AF1F8E37BD) # Jeffrey Walton <noloa...@gmail.com> + +pkgver() { + cd cryptopp + git describe --tags | sed 's/^CRYPTOPP_//; s/_/./g' +} + +build() { + export CXXFLAGS="$CXXFLAGS -DNDEBUG -fPIC" + make PREFIX=/usr -C cryptopp dynamic cryptest.exe libcryptopp.pc +} + +check() { + make PREFIX=/usr -C cryptopp test +} + +package() { + make DESTDIR="${pkgdir}" PREFIX=/usr -C cryptopp install + install -Dm 644 cryptopp/License.txt -t "${pkgdir}"/usr/share/licenses/crypto++/ + # Remove cryptest.exe and test files, only needed for check() and bloats the package + # because cryptest.exe is linked statically. + rm -rf "${pkgdir}"/usr/{bin,share/cryptopp} +} + +# vim: ts=2 sw=2 et: