Skip to content

Instantly share code, notes, and snippets.

@rodolpheh
Created January 29, 2020 16:13
Show Gist options
  • Save rodolpheh/72858ef94a7b766c2bb528b354d42b08 to your computer and use it in GitHub Desktop.
Save rodolpheh/72858ef94a7b766c2bb528b354d42b08 to your computer and use it in GitHub Desktop.
Fork-Awesome PKGBUILD fixed
# Maintainer: Julien Deswaef <[email protected]>
# Corrected by: Rodolpheh <[email protected]>
pkgbase=ttf-fork-awesome
pkgname=(ttf-fork-awesome)
pkgver=1.1.7
pkgrel=1
pkgdesc="A fork of the iconic font and CSS toolkit"
url="https://forkawesome.github.io"
license=('custom:OFL')
arch=('any')
depends=('fontconfig')
conflicts=()
source=("$pkgname-$pkgver.tar.gz::https://github.com/ForkAwesome/Fork-Awesome/archive/$pkgver.tar.gz"
"OFL")
sha256sums=('94aff930bcb81871c91bc3167003b46c29e5939ca403dcb10e35b3e875132455'
'fe4ddef88d2705569740a4b6c59e1a73315e1a55fb0a0d054bd791977681f8cb')
package_ttf-fork-awesome() {
install -Dm644 OFL "$pkgdir/usr/share/licenses/$pkgname/OFL"
cd "Fork-Awesome-$pkgver/fonts"
install -d "$pkgdir/usr/share/fonts/TTF"
install -m644 *.ttf "$pkgdir/usr/share/fonts/TTF"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment