void-packages/srcpkgs/next/template

38 lines
1.3 KiB
Bash

# Template file for 'next'
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"
depends="sqlite xclip libfixposix-devel libressl-devel"
short_desc="Keyboard-oriented, extensible web-browser"
maintainer="0x0f0f0f <sudo-woodo3@protonmail.com>"
license="BSD-3-Clause"
homepage="https://next.atlas.engineer/"
# 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
}