# rebuild amule on any 8.x update pkgname=crypto++ pkgver=8.9.0 _pkgver=890 pkgrel=1 pkgdesc="A free C++ class library of cryptographic schemes." arch=('x86_64') url="https://www.cryptopp.com/" license=('custom') makedepends=('unzip') options=('!staticlibs') #source=("https://github.com/weidai11/cryptopp/archive/CRYPTOPP_${_pkgver}.tar.gz" source=("https://www.cryptopp.com/cryptopp${_pkgver}.zip" 'libcrypto++.pc') # set to remove after testing cmake build setup, needed for clementine sha256sums=('4cc0ccc324625b80b695fcd3dee63a66f1a460d3e51b71640cdbfc4cd1a3779c' '81697b17cd4d89a058e6c6bb6d1e42b29a2c2b35536cf6dfdd058f75a3087569') build() { make libcryptopp.so } package() { make DESTDIR=${pkgdir} install PREFIX=/usr install -Dm644 License.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE install -Dm644 ${srcdir}/libcrypto++.pc ${pkgdir}/usr/lib/pkgconfig/libcrypto++.pc # remove windows & test files rm -r ${pkgdir}/usr/bin rm -r ${pkgdir}/usr/share/cryptopp/ }