2021-06-09 21:13:43 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# mycroft-skill-joke
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
MYCROFT_SKILL_JOKE_VERSION = 3d361925654857989ccf0c7d9a34a113150aa180
|
2022-01-19 15:50:19 +01:00
|
|
|
MYCROFT_SKILL_JOKE_SITE = https://github.com/MycroftAI/skill-joke
|
2021-06-09 21:13:43 +02:00
|
|
|
MYCROFT_SKILL_JOKE_SITE_METHOD = git
|
|
|
|
MYCROFT_SKILL_JOKE_DIRLOCATION = home/mycroft/.local/share/mycroft/skills
|
|
|
|
MYCROFT_SKILL_JOKE_DIRNAME = skill-joke.mycroftai
|
|
|
|
|
|
|
|
define MYCROFT_SKILL_JOKE_INSTALL_TARGET_CMDS
|
|
|
|
mkdir -p $(TARGET_DIR)/$(MYCROFT_SKILL_JOKE_DIRLOCATION)/$(MYCROFT_SKILL_JOKE_DIRNAME)
|
|
|
|
cp -dpfr $(@D)/* $(TARGET_DIR)/$(MYCROFT_SKILL_JOKE_DIRLOCATION)/$(MYCROFT_SKILL_JOKE_DIRNAME)
|
|
|
|
cp -dpfr $(MYCROFT_SKILL_JOKE_DL_DIR)/git/.git* \
|
|
|
|
$(TARGET_DIR)/$(MYCROFT_SKILL_JOKE_DIRLOCATION)/$(MYCROFT_SKILL_JOKE_DIRNAME)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|