swaybg: convert to git

This commit is contained in:
Markus Volk
2021-06-02 17:36:25 +02:00
parent 5a733abfd2
commit 9a5f87b25a
2 changed files with 32 additions and 4 deletions

View File

@@ -0,0 +1,28 @@
SUMMARY = "Font Awesome"
HOMEPAGE = "https://fontawesome.com/"
SECTION = "base/fonts"
LICENSE = "OFL-1.1"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2e3494502db283e8891d4886fe445912"
SRC_URI = " \
git://github.com/FortAwesome/Font-Awesome.git;protocol=https \
"
S = "${WORKDIR}/git"
PV = "5.15.3"
SRCREV = "${PV}"
do_install () {
install -d ${D}${datadir}/fonts/opentype
for font in ${S}/otfs/*.otf; do
install -m 0644 "$font" ${D}${datadir}/fonts/opentype
done
}
FILES_${PN} = " \
${datadir}/fonts \
"