next: fix checksum, fix build on non-x86 systems

This commit is contained in:
q66 2021-01-01 21:57:32 +01:00
parent 5644da3251
commit 911b71c8c7

View File

@ -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 <sudo-woodo3@protonmail.com>"
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
}