Date: Tuesday, October 19, 2021 @ 12:09:41 Author: archange Revision: 1030966
archrelease: copy trunk to community-x86_64 Added: libsecp256k1/repos/community-x86_64/PKGBUILD (from rev 1030965, libsecp256k1/trunk/PKGBUILD) Deleted: libsecp256k1/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 103 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 51 insertions(+), 52 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-10-19 12:09:15 UTC (rev 1030965) +++ PKGBUILD 2021-10-19 12:09:41 UTC (rev 1030966) @@ -1,52 +0,0 @@ -# Maintainer: Bruno Pagani <archa...@archlinux.org> -# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org> -# Contributor: Andy Weidenbaum <archb...@gmail.com> - -pkgname=libsecp256k1 -_gitcommit=9526874d1406a13193743c605ba64358d55a8785 -pkgver=20211017+1410+g9526874 -pkgrel=1 -pkgdesc="Optimized C library for EC operations on curve secp256k1" -arch=(x86_64) -url="https://github.com/bitcoin-core/secp256k1" -license=(MIT) -depends=(gmp) -source=(${url}/archive/${_gitcommit}/${pkgname}-${pkgver}.tar.gz) -sha256sums=('e7138d9262e52885d1c5de8f91138832c3a1875de509ce169934be20416b08d7') - -prepare() { - cd secp256k1-${_gitcommit} - autoreconf -vfi -} - -build() { - cd secp256k1-${_gitcommit} - ./configure \ - --prefix=/usr \ - --sbindir=/usr/bin \ - --libexecdir=/usr/bin \ - --sysconfdir=/etc \ - --sharedstatedir=/usr/share/libsecp256k1 \ - --localstatedir=/var/lib/libsecp256k1 \ - --disable-static \ - --disable-benchmark \ - --disable-coverage \ - --enable-module-ecdh \ - --enable-module-recovery \ - --enable-tests \ - --enable-exhaustive-tests \ - --disable-openssl-tests \ - --with-gnu-ld - make -} - -check() { - cd secp256k1-${_gitcommit} - make check -} - -package() { - cd secp256k1-${_gitcommit} - make DESTDIR="${pkgdir}" install - install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname} -} Copied: libsecp256k1/repos/community-x86_64/PKGBUILD (from rev 1030965, libsecp256k1/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-10-19 12:09:41 UTC (rev 1030966) @@ -0,0 +1,51 @@ +# Maintainer: Bruno Pagani <archa...@archlinux.org> +# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org> +# Contributor: Andy Weidenbaum <archb...@gmail.com> + +pkgname=libsecp256k1 +_gitcommit=9526874d1406a13193743c605ba64358d55a8785 +pkgver=20211017+1410+g9526874 +pkgrel=2 +pkgdesc="Optimized C library for EC operations on curve secp256k1" +arch=(x86_64) +url="https://github.com/bitcoin-core/secp256k1" +license=(MIT) +depends=(glibc) +source=(${url}/archive/${_gitcommit}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('e7138d9262e52885d1c5de8f91138832c3a1875de509ce169934be20416b08d7') + +prepare() { + cd secp256k1-${_gitcommit} + autoreconf -vfi +} + +build() { + cd secp256k1-${_gitcommit} + ./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --libexecdir=/usr/bin \ + --sysconfdir=/etc \ + --sharedstatedir=/usr/share/libsecp256k1 \ + --localstatedir=/var/lib/libsecp256k1 \ + --disable-static \ + --disable-benchmark \ + --disable-coverage \ + --enable-module-ecdh \ + --enable-module-recovery \ + --enable-tests \ + --enable-exhaustive-tests \ + --with-gnu-ld + make +} + +check() { + cd secp256k1-${_gitcommit} + make check +} + +package() { + cd secp256k1-${_gitcommit} + make DESTDIR="${pkgdir}" install + install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname} +}