Add font-awesome-6
This commit is contained in:
13
font-awesome-6/.SRCINFO
Normal file
13
font-awesome-6/.SRCINFO
Normal 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
4
font-awesome-6/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
/*
|
||||
!/.gitignore
|
||||
!/.SRCINFO
|
||||
!/PKGBUILD
|
||||
28
font-awesome-6/PKGBUILD
Normal file
28
font-awesome-6/PKGBUILD
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user