summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo Bargen2019-04-25 17:38:13 +0200
committerDanilo Bargen2019-04-25 17:38:20 +0200
commit36a6ee6378559cf59cfd67d787a66e79459134da (patch)
tree94a5b267220763ff8640824bc9ffa401fd08b7c6
parent8678b640f690ce75de73a544997883783f1039bb (diff)
downloadaur-36a6ee6378559cf59cfd67d787a66e79459134da.tar.gz
Version 0.2-2
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD19
-rw-r--r--install15
3 files changed, 14 insertions, 33 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 72798c6415ec..3e3bd7eb0fb4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 31a5a81793fe..2a9f8fe349b3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
-}