From 911b71c8c7f451eda4ea015ad5f523f7def43560 Mon Sep 17 00:00:00 2001 From: q66 Date: Fri, 1 Jan 2021 21:57:32 +0100 Subject: [PATCH] next: fix checksum, fix build on non-x86 systems --- srcpkgs/next/template | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/srcpkgs/next/template b/srcpkgs/next/template index cf803dd16ab..d6e20377f46 100644 --- a/srcpkgs/next/template +++ b/srcpkgs/next/template @@ -2,6 +2,7 @@ pkgname=next version=1.5.0 revision=1 +wrksrc=nyxt-${version} build_style=gnu-makefile hostmakedepends="sbcl curl pkg-config" makedepends="webkit2gtk-devel libfixposix-devel libressl-devel" @@ -10,12 +11,28 @@ short_desc="Keyboard-oriented, extensible web-browser" maintainer="0x0f0f0f " license="BSD-3-Clause" homepage="https://next.atlas.engineer/" -distfiles="https://github.com/atlas-engineer/next/archive/${version}.tar.gz" -checksum=b8688d056d40778fa6dd8ccd3ba7b5a00f16ea1e81ea8293ebe58e28f63c7e22 +# we need this commit to fix non-x86 builds +# it is the only commit on top of 0.53 release +# remove the whole vendoring thing when 0.54 is out +# this will probably be the next time we update this... +_ironclad_rev=f215e183e7fe0b66da009c07d70e6f738ea1da03 +distfiles="https://github.com/atlas-engineer/nyxt/archive/${version}.tar.gz + https://github.com/sharplispers/ironclad/archive/${_ironclad_rev}.tar.gz" +checksum="bfd1e2e6f43385b8dc07d4860da6ef99d9e94aba4c688eddd05930c5a2e36637 + 988ccefa88b47f97dc8fb52a475a444c0b1bc45fdca64009140d41d397980ca6" nostrip=yes nopie=yes nocross="https://travis-ci.org/void-linux/void-packages/builds/590346382" +post_extract() { + mkdir ${wrksrc}/vendor + mv ../ironclad-* ${wrksrc}/vendor/ironclad +} + +pre_install() { + export CL_SOURCE_REGISTRY=${wrksrc}/vendor/ironclad +} + post_install() { vlicense LICENSE }