Skip to content
This repository has been archived by the owner on Jan 3, 2020. It is now read-only.

colajam93/fontpkggen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fontpkggen

Generate PKGBUILD for TTF/OTF font.

Description

Simple python3 script for generate PKGBUILD for TTF/OTF font. The PKGBUILD generated by this script doesn't satisfy the Arch packaging standards, so you shoud use the package only for you. The PKGBUILD and .install are based on ArchWiki's article.

Usage

usage: fontpkggen [-h] [-a] [-f] [--pkgver PKGVER] [--pkgrel PKGREL]
                  [--pkgdesc PKGDESC]
                  pkgname fontfiles [fontfiles ...]

TTF/OTF font PKGBUILD and .install generator

positional arguments:
  pkgname            Package name
  fontfiles          TTF/OTF font files

optional arguments:
  -h, --help         show this help message and exit
  -a, --auto         Make [pkgname] directory, copy fonts, generate PKGBUILD
  -f, --force        Replace existing file
  --pkgver PKGVER    Package version default=1.0
  --pkgrel PKGREL    Package release number default=1
  --pkgdesc PKGDESC  Package description default='[pkgname] font'

Demo

$ fontpkggen -a ttf-foo foo.ttf ~/bar.ttf
$ ls ttf-foo
PKGBUILD  bar.ttf  foo.ttf  ttf-foo.install
$ cd ttf-foo
$ makepkg

License

MIT

About

Generate PKGBUILD for TTF/OTF font

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages