Files

44 lines
1.6 KiB
Plaintext
Raw Permalink Normal View History

# known SITES.x
SITES.codeberg ?= https://codeberg.org/
SITES.fdo ?= https://gitlab.freedesktop.org/
SITES.github ?= https://github.com/
SITES.gitlab ?= https://gitlab.com/
SITES.kde ?= https://invent.kde.org/
SITES.srht ?= https://git.sr.ht/
SITES.gnome ?= https://gitlab.gnome.org/
# set EXTRACT_SUFX.x if different from TEMPLATE_EXTRACT_SUFX
TEMPLATE_EXTRACT_SUFX ?= .tar.gz
# templates for the DISTFILES.x; the following strings are substituted based on DIST_TUPLE
# - <account>
# - <project>
# - <id>
# - <subdir> - used automatically if <id> is in tag format
TEMPLATE_DISTFILES.codeberg ?= \
<account>-<project>-{<account>/<project>/archive/}<id>${EXTRACT_SUFX.codeberg}
TEMPLATE_DISTFILES.fdo ?= \
<account>-<project>-{<account>/<project>/-/archive/<id>/}<id>${EXTRACT_SUFX.fdo}
TEMPLATE_DISTFILES.github ?= \
2023-09-04 15:32:56 +00:00
<account>-<project>-{<account>/<project>/archive/<subdir>}<id>${EXTRACT_SUFX.github}
TEMPLATE_DISTFILES.gitlab ?= \
<account>-<project>-{<account>/<project>/-/archive/<id>/}<id>${EXTRACT_SUFX.gitlab}
2023-11-10 19:55:14 +00:00
TEMPLATE_DISTFILES.gnome ?= \
<account>-<project>-{<account>/<project>/-/archive/<id>/}<project>-<id>${EXTRACT_SUFX.gnome}
TEMPLATE_DISTFILES.kde ?= \
<account>-<project>-{<account>/<project>/-/archive/<id>/}<id>${EXTRACT_SUFX.kde}
TEMPLATE_DISTFILES.srht ?= \
<account>-<project>-{~<account>/<project>/archive/}<id>${EXTRACT_SUFX.srht}
# template for HOMEPAGE; same substitutions as for DISTFILES.x
# Defaults to TEMPLATE_HOMEPAGE. Set TEMPLATE_HOMEPAGE.x to use different pattern.
# - <site> - substituted, may correspond to SITES.x
TEMPLATE_HOMEPAGE ?= <site><account>/<project>
TEMPLATE_HOMEPAGE.srht ?= <site>~<account>/<project>