Add font-awesome-6
This commit is contained in:
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