diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2020-07-12 04:06:15 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2020-07-12 07:15:22 -0400 |
commit | c9afa73307a49f9791da084965179afe253c4508 (patch) | |
tree | c206b84294da6d66b3d2efbd4ed426fff98d6b81 /pcr/ttf-open-comic-font | |
parent | c6084be870c329a909068e682f16d8c4db053108 (diff) | |
download | abslibre-c9afa73307a49f9791da084965179afe253c4508.tar.gz abslibre-c9afa73307a49f9791da084965179afe253c4508.tar.bz2 abslibre-c9afa73307a49f9791da084965179afe253c4508.zip |
[ttf-free-comic-font->ttf-open-comic-font]: rebulid
the upstream name is 'open-comic-font'
the FSDG does not require software names to be changed
Diffstat (limited to 'pcr/ttf-open-comic-font')
-rw-r--r-- | pcr/ttf-open-comic-font/PKGBUILD | 31 | ||||
-rw-r--r-- | pcr/ttf-open-comic-font/ttf-open-comic-font.install | 10 |
2 files changed, 41 insertions, 0 deletions
diff --git a/pcr/ttf-open-comic-font/PKGBUILD b/pcr/ttf-open-comic-font/PKGBUILD new file mode 100644 index 000000000..6c3162fc4 --- /dev/null +++ b/pcr/ttf-open-comic-font/PKGBUILD @@ -0,0 +1,31 @@ +# Contributor: Márcio Silva <coadde@hyperbola.info> +# Contributor: bill-auger <bill-auger@programmer.net> + + +pkgname=ttf-open-comic-font +pkgver=0.03.2 +pkgrel=2 +pkgdesc="comic book style font" +arch=('any') +url=https://github.com/arthursucks/opencomicfont +license=('custom:BSD3' 'CCPL' 'LGPL3') + +depends=(fontconfig xorg-mkfontdir xorg-mkfontscale) +provides=('ttf-font') +install=${pkgname}.install +source=(https://github.com/arthursucks/opencomicfont/raw/master/version_${pkgver}_source.tar.gz) + +sha256sums=('c3356d1755f898df031dc21e48c673bfe94f257f0aa296cc44fa696be0ce9798') + + +package() +{ + cd "$srcdir"/ + + install -dm755 "${pkgdir}"/usr/share/fonts/TTF + install -m644 *.ttf "${pkgdir}"/usr/share/fonts/TTF/ + + install -dm755 "${pkgdir}"/usr/share/licenses/${pkgname} + install -m644 lgpl-3.0.txt "${pkgdir}"/usr/share/licenses/${pkgname}/lgpl-3.0.txt + install -m644 README.txt "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING +} diff --git a/pcr/ttf-open-comic-font/ttf-open-comic-font.install b/pcr/ttf-open-comic-font/ttf-open-comic-font.install new file mode 100644 index 000000000..08c4cb60b --- /dev/null +++ b/pcr/ttf-open-comic-font/ttf-open-comic-font.install @@ -0,0 +1,10 @@ +post_install() +{ + fc-cache -s &> /dev/null + mkfontscale usr/share/fonts/TTF + mkfontdir usr/share/fonts/TTF +} + +post_upgrade() { post_install ; } + +pret_remove() { post_install ; } |