Add font-awesome-6

This commit is contained in:
2025-09-01 00:10:15 +03:00
parent 994a100119
commit 3eb3373aa5
3 changed files with 45 additions and 0 deletions

13
font-awesome-6/.SRCINFO Normal file
View File

@@ -0,0 +1,13 @@
pkgbase = font-awesome-6
pkgdesc = Iconic font designed for Bootstrap (version 6.x)
pkgver = 6.7.2
pkgrel = 1
url = https://fontawesome.com/
arch = any
license = custom:OFL
source = https://github.com/FortAwesome/Font-Awesome/archive/6.7.2.tar.gz
sha256sums = fdebdf3f1b8641a4b665c61f1f48e482b140a817ce619113559201b8a1fcdd51
pkgname = ttf-font-awesome-6
pkgname = otf-font-awesome-6

4
font-awesome-6/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
/*
!/.gitignore
!/.SRCINFO
!/PKGBUILD

28
font-awesome-6/PKGBUILD Normal file
View File

@@ -0,0 +1,28 @@
# Maintainer: Dawid Potocki <archlinux a dawidpotocki , com>
# Based on font-awesome-5
pkgbase=font-awesome-6
pkgname=(ttf-font-awesome-6 otf-font-awesome-6)
pkgver=6.7.2
pkgrel=1
pkgdesc='Iconic font designed for Bootstrap (version 6.x)'
url='https://fontawesome.com/'
license=('custom:OFL')
arch=('any')
source=("https://github.com/FortAwesome/Font-Awesome/archive/$pkgver.tar.gz")
sha256sums=('fdebdf3f1b8641a4b665c61f1f48e482b140a817ce619113559201b8a1fcdd51')
package_ttf-font-awesome-6() {
cd "Font-Awesome-${pkgver}"
install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
install -d "${pkgdir}/usr/share/fonts/TTF"
rename "fa" "fa5" ./webfonts/*.ttf
install -m644 ./webfonts/*.ttf "${pkgdir}/usr/share/fonts/TTF"
}
package_otf-font-awesome-6() {
cd "Font-Awesome-${pkgver}"
install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
install -d "${pkgdir}/usr/share/fonts/OTF"
install -m644 ./otfs/*.otf "${pkgdir}/usr/share/fonts/OTF"
}