ADD neuropol ttf
This commit is contained in:
parent
46360f60f8
commit
2d7df19660
|
@ -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')
|
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue