mozjs38: -devel conflicts with js-devel

use ${MOZILLA_SITE}

Closes #6989
This commit is contained in:
Michael Gehring 2017-07-11 13:55:22 +00:00
parent 6f368bc689
commit 4d1dc983e7

View file

@ -11,7 +11,7 @@ short_desc="Mozilla JavaScript interpreter and library (38.x series)"
homepage="http://www.mozilla.org/js/"
license="MPL-1.1, GPL-2, LGPL-2.1"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="https://ftp.mozilla.org/pub/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.bz2"
distfiles="${MOZILLA_SITE}/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.bz2"
checksum=9475adcee29d590383c4885bc5f958093791d1db4302d694a5d2766698f59982
nopie=yes
@ -55,6 +55,7 @@ post_install() {
mozjs38-devel_package() {
depends="nspr-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
conflicts="js-devel>0" # /usr/bin/js-config
pkg_install() {
vmove usr/bin/js-config
vmove usr/include