dotfiles/dot_local/share/packages/ttf-neuropolitical/PKGBUILD

25 lines
728 B
Bash

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')