1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-01-14 18:26:28 +01:00
OpenVoiceOS/buildroot-external/package/mycroft-skill-news/mycroft-skill-news.mk
2022-03-17 20:37:32 +01:00

21 lines
887 B
Makefile

################################################################################
#
# mycroft-skill-news
#
################################################################################
MYCROFT_SKILL_NEWS_VERSION = 7959296f189fd5e06807b9b7fc8fb9d23b22635f
MYCROFT_SKILL_NEWS_SITE = https://github.com/JarbasSkills/skill-news
MYCROFT_SKILL_NEWS_SITE_METHOD = git
MYCROFT_SKILL_NEWS_DIRLOCATION = home/mycroft/.local/share/mycroft/skills
MYCROFT_SKILL_NEWS_DIRNAME = skill-news.jarbasskills
define MYCROFT_SKILL_NEWS_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/$(MYCROFT_SKILL_NEWS_DIRLOCATION)/$(MYCROFT_SKILL_NEWS_DIRNAME)
cp -dpfr $(@D)/* $(TARGET_DIR)/$(MYCROFT_SKILL_NEWS_DIRLOCATION)/$(MYCROFT_SKILL_NEWS_DIRNAME)
cp -dpfr $(MYCROFT_SKILL_NEWS_DL_DIR)/git/.git* \
$(TARGET_DIR)/$(MYCROFT_SKILL_NEWS_DIRLOCATION)/$(MYCROFT_SKILL_NEWS_DIRNAME)
endef
$(eval $(generic-package))