ADD neuropol ttf

This commit is contained in:
Nathan Dwarshuis 2023-09-22 16:27:07 -04:00
parent 46360f60f8
commit 2d7df19660
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,24 @@
pkgname=ttf-neuropolitical
pkgver=1.0
pkgrel=1
url="http://www.dafont.com/neuropolitical.font"
license=('custom')
pkgdesc="Neuropolitical custom font"
arch=('any')
source=("neuropolitical.zip::http://dl.dafont.com/dl/?f=neuropolitical")
install=$pkgname.install
prepare() {
mv "neuropolitical rg.otf" "Neuropolitical-R.ttf"
}
package()
{
mkdir -p $pkgdir/usr/share/fonts/otf-neuropolitical
install -Dm 644 $srcdir/*.ttf $pkgdir/usr/share/fonts/otf-neuropolitical/
install -Dm 644 $srcdir/read-this.html ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.html
install -Dm 644 "$srcdir/Typodermic Desktop EULA 2023.pdf" ${pkgdir}/usr/share/licenses/${pkgname}/EULA.pdf
}
md5sums=('3517c813dd8492383bbe902df2d741dd')

View File

@ -0,0 +1,14 @@
post_install()
{
echo -n "Updating font cache... "
fc-cache -fs >/dev/null
mkfontscale /usr/share/fonts/ttf-neuropolitical
mkfontdir /usr/share/fonts/ttf-neuropolitical
echo "done"
}
post_upgrade()
{
post_install
}