# Maintainer: pkgname=libjodycode pkgver=3.1 pkgrel=1 pkgdesc="Shared code used by several utilities written by Jody Bruchon" url="https://github.com/jbruchon/libjodycode" arch="all" license="MIT" subpackages="$pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/jbruchon/libjodycode/archive/refs/tags/v$pkgver.tar.gz" options="!check" # no tests build() { make \ NO_SIMD=1 \ NO_SSE2=1 \ NO_AVX2=1 \ CFLAGS="$CFLAGS -DNO_SSE2 -DNO_SIMD -DNO_AVX2 -flto=auto" } package() { make DESTDIR="$pkgdir" PREFIX=/usr install rm -v "$pkgdir"/usr/lib/*.a } sha512sums=" 980f1797084594f710cae92b26d10c46a73415d11e89af608c8a87730ea39f497fec0889f9bd88af7c23aa0067dd6642758edc2b2756d9eba6e6a4a50c583751 libjodycode-3.1.tar.gz "