diff options
author | Danilo Bargen | 2019-04-25 17:38:13 +0200 |
---|---|---|
committer | Danilo Bargen | 2019-04-25 17:38:20 +0200 |
commit | 36a6ee6378559cf59cfd67d787a66e79459134da (patch) | |
tree | 94a5b267220763ff8640824bc9ffa401fd08b7c6 | |
parent | 8678b640f690ce75de73a544997883783f1039bb (diff) | |
download | aur-36a6ee6378559cf59cfd67d787a66e79459134da.tar.gz |
Version 0.2-2
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 19 | ||||
-rw-r--r-- | install | 15 |
3 files changed, 14 insertions, 33 deletions
@@ -1,15 +1,14 @@ +# Generated by mksrcinfo v8 +# Thu Apr 25 15:37:56 UTC 2019 pkgbase = ocr-fonts - pkgdesc = Free versions of OCR-friendly sans-serif monospace TTF/OTF fonts (OCR-A and OCR-B) described in 'ISO 1073-1' and 'ISO 1073-2' standards. + pkgdesc = Free versions of OCR-friendly sans-serif monospace TTF/OTF fonts (OCR-A and OCR-B) described in 'ISO 1073-1' and 'ISO 1073-2' standards pkgver = 0.2 - pkgrel = 1 - url = http://ansuz.sooke.bc.ca/page/fonts#ocrb - install = install + pkgrel = 2 + url = https://ansuz.sooke.bc.ca/page/fonts#ocrb arch = any license = other - source = http://jaist.dl.sourceforge.jp/tsukurimashou/56948/ocr-0.2.zip - source = install + source = https://jaist.dl.sourceforge.jp/tsukurimashou/56948/ocr-0.2.zip sha256sums = 39289c641520265ecedbade99f01600f316f8196ec57f71c8402d3ba09438666 - sha256sums = 54113221c6134d94646647aa06931d73ff9f5bc5bb915f98f0fa7d70ca9bb31d pkgname = ocr-fonts @@ -1,19 +1,16 @@ # Maintainer: Danilo Bargen <mail at dbrgn dot ch> pkgname=ocr-fonts pkgver=0.2 -pkgrel=1 -pkgdesc="Free versions of OCR-friendly sans-serif monospace TTF/OTF fonts (OCR-A and OCR-B) described in 'ISO 1073-1' and 'ISO 1073-2' standards." +pkgrel=2 +pkgdesc="Free versions of OCR-friendly sans-serif monospace TTF/OTF fonts (OCR-A and OCR-B) described in 'ISO 1073-1' and 'ISO 1073-2' standards" arch=('any') license=('other') -url="http://ansuz.sooke.bc.ca/page/fonts#ocrb" -source=("http://jaist.dl.sourceforge.jp/tsukurimashou/56948/ocr-0.2.zip" - "install") -install=install -sha256sums=('39289c641520265ecedbade99f01600f316f8196ec57f71c8402d3ba09438666' - '54113221c6134d94646647aa06931d73ff9f5bc5bb915f98f0fa7d70ca9bb31d') +url="https://ansuz.sooke.bc.ca/page/fonts#ocrb" +source=("https://jaist.dl.sourceforge.jp/tsukurimashou/56948/ocr-${pkgver}.zip") +sha256sums=('39289c641520265ecedbade99f01600f316f8196ec57f71c8402d3ba09438666') package() { - mkdir -p ${pkgdir}/usr/share/fonts/{TTF,OTF}/ || return 1 - install -m 644 -o root ${srcdir}/ocr-${pkgver}/OCR*.ttf ${pkgdir}/usr/share/fonts/TTF/ - install -m 644 -o root ${srcdir}/ocr-${pkgver}/OCR*.otf ${pkgdir}/usr/share/fonts/OTF/ + mkdir -p "${pkgdir}"/usr/share/fonts/{TTF,OTF}/ + install -m 644 -o root "${srcdir}/ocr-${pkgver}/"OCR*.ttf "${pkgdir}/usr/share/fonts/TTF/" + install -m 644 -o root "${srcdir}/ocr-${pkgver}/"OCR*.otf "${pkgdir}/usr/share/fonts/OTF/" } diff --git a/install b/install deleted file mode 100644 index b3ed3b613ce8..000000000000 --- a/install +++ /dev/null @@ -1,15 +0,0 @@ -post_install() { - fc-cache -s -f > /dev/null - mkfontscale /usr/share/fonts/TTF - mkfontdir /usr/share/fonts/TTF - mkfontscale /usr/share/fonts/OTF - mkfontdir /usr/share/fonts/OTF -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} |