devel/hs-spago: Use upstream MASTER_SITES.

This commit is contained in:
Gleb Popov 2021-04-26 16:31:37 +03:00
parent 7e0f5d9dfd
commit 0998ec6405
2 changed files with 15 additions and 14 deletions

View File

@ -1,13 +1,14 @@
PORTNAME= spago
DISTVERSION= 0.20.1
CATEGORIES= devel
MASTER_SITES= https://github.com/purescript/purescript-docs-search/releases/download/v${PURESCRIPT_DOCS_SEARCH_VERSION}/:docs_search_app \
https://github.com/purescript/purescript-docs-search/releases/download/v${PURESCRIPT_DOCS_SEARCH_VERSION}/:purescript_docs_search \
https://arrowd.name/:docs10
DISTFILES= docs-search-app.js:docs_search_app \
purescript-docs-search:purescript_docs_search \
docs-search-app-0.0.10.js:docs10 \
purescript-docs-search-0.0.10:docs10
MASTER_SITES= https://github.com/purescript/purescript-docs-search/releases/download/v0.0.11/docs-search-app.js?dummy=/:dsa11 \
https://github.com/purescript/purescript-docs-search/releases/download/v0.0.11/purescript-docs-search?dummy=/:pds11 \
https://github.com/purescript/purescript-docs-search/releases/download/v0.0.10/docs-search-app.js?dummy=/:dsa10 \
https://github.com/purescript/purescript-docs-search/releases/download/v0.0.10/purescript-docs-search?dummy=/:pds10
DISTFILES= docs-search-app-0.0.11.js:dsa11 \
purescript-docs-search-0.0.11:pds11 \
docs-search-app-0.0.10.js:dsa10 \
purescript-docs-search-0.0.10:pds10
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= haskell@FreeBSD.org
@ -199,8 +200,8 @@ USE_CABAL= Diff-0.4.0 \
PURESCRIPT_DOCS_SEARCH_VERSION= 0.0.11
post-extract:
${CP} ${DISTDIR}/${DIST_SUBDIR}/docs-search-app.js ${WRKSRC}/templates/docs-search-app-${PURESCRIPT_DOCS_SEARCH_VERSION}.js
${CP} ${DISTDIR}/${DIST_SUBDIR}/purescript-docs-search ${WRKSRC}/templates/purescript-docs-search-${PURESCRIPT_DOCS_SEARCH_VERSION}
${CP} ${DISTDIR}/${DIST_SUBDIR}/docs-search-app-0.0.11.js ${WRKSRC}/templates/
${CP} ${DISTDIR}/${DIST_SUBDIR}/purescript-docs-search-0.0.11 ${WRKSRC}/templates/
${CP} ${DISTDIR}/${DIST_SUBDIR}/docs-search-app-0.0.10.js ${WRKSRC}/templates/
${CP} ${DISTDIR}/${DIST_SUBDIR}/purescript-docs-search-0.0.10 ${WRKSRC}/templates/

View File

@ -1,8 +1,8 @@
TIMESTAMP = 1619440584
SHA256 (cabal/docs-search-app.js) = 0254c9bd09924352f1571642bf0da588aa9bdb1f343f16d464263dd79b7e169f
SIZE (cabal/docs-search-app.js) = 462590
SHA256 (cabal/purescript-docs-search) = 06dfcb9b84408527a2980802108fae6a5260a522013f67d0ef7e83946abe4dc2
SIZE (cabal/purescript-docs-search) = 426985
TIMESTAMP = 1619442803
SHA256 (cabal/docs-search-app-0.0.11.js) = 0254c9bd09924352f1571642bf0da588aa9bdb1f343f16d464263dd79b7e169f
SIZE (cabal/docs-search-app-0.0.11.js) = 462590
SHA256 (cabal/purescript-docs-search-0.0.11) = 06dfcb9b84408527a2980802108fae6a5260a522013f67d0ef7e83946abe4dc2
SIZE (cabal/purescript-docs-search-0.0.11) = 426985
SHA256 (cabal/docs-search-app-0.0.10.js) = 45dd227a2139e965bedc33417a895ec7cb267ae4a2c314e6071924d19380aa54
SIZE (cabal/docs-search-app-0.0.10.js) = 468584
SHA256 (cabal/purescript-docs-search-0.0.10) = 437ac8b15cf12c4f584736a07560ffd13f4440cd0c44c3a6f7a29248a1ff8171