Skip to content

Instantly share code, notes, and snippets.

@hanachin
Created January 19, 2021 03:43
Show Gist options
  • Save hanachin/dbd118272c09d1d6181499482fe65c0e to your computer and use it in GitHub Desktop.
Save hanachin/dbd118272c09d1d6181499482fe65c0e to your computer and use it in GitHub Desktop.
Klee OneのArch Linux用のパッケージ、cloneしてmakepkg -siで入る https://github.com/fontworks-fonts/Klee/
# https://gist.github.com/pablox-cl/6479725
# ignore everything
*
!.gitignore
# except PKGBUILD needed files
!PKGBUILD
!*.install
!ChangeLog
# common wing-man files
!*.diff
!*.patch
# add files that don't have an online source
# Maintainer: Seiei Miyagi <hanachin@example.com>
pkgname=("ttf-fontworks-fonts-klee-one")
pkgver="7b57d36ecd1d715e0a1c0fc7d74b1f871a2ce400"
pkgrel=1
pkgdesc="Klee is a script font handwritten by pencil or pen."
arch=("any")
url="https://github.com/fontworks-fonts/Klee"
license=("OFL")
depends=(fontconfig)
source=("https://raw.githubusercontent.com/fontworks-fonts/Klee/$pkgver/README.md"
"https://raw.githubusercontent.com/fontworks-fonts/Klee/$pkgver/OFL.txt"
"https://raw.githubusercontent.com/fontworks-fonts/Klee/$pkgver/fonts/ttf/KleeOne-Regular.ttf"
"https://raw.githubusercontent.com/fontworks-fonts/Klee/$pkgver/fonts/ttf/KleeOne-SemiBold.ttf")
sha256sums=("edbe7980ebfaa64e3a52af7d47facb1124af2d5242b2385886cbec040b4704a8"
"e376b0df8e8a2345a9533db6f0a5333a1107975569ad9d1973a7ee557161ca38"
"3e83176318df56630b6e1a73caa24087e37ce7ceaeb317595edea0d5ad47ee01"
"983b70b7928dce740b4fbc1c43a6a87531f8634944f55a9acef4e8a1a253a9a8")
package() {
cd $srcdir
install -d -m755 "$pkgdir/usr/share/licenses/$pkgname"
install -D -m644 "README.md" "OFL.txt" "$pkgdir/usr/share/licenses/$pkgname/"
install -d -m755 "$pkgdir/usr/share/fonts/fontworks-fonts-klee-one"
install -D -m644 *.ttf "$pkgdir/usr/share/fonts/fontworks-fonts-klee-one/"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment