summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Weimar2019-07-27 10:24:33 +0200
committerMarkus Weimar2019-07-27 11:05:22 +0200
commit19a8cd0bacbc53e6a5bc0fa35eaa1664c3e7b504 (patch)
treebd6f18e600dee0e07d258e1499491c7fbc3700ed
parentfc6ed24aa53b666553cd8281d2a874d11aab1975 (diff)
downloadaur-19a8cd0bacbc53e6a5bc0fa35eaa1664c3e7b504.tar.gz
Move fonts to per-package directory.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 90c86be7b9a..d10aeb83493 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Mon Jul 2 15:37:47 UTC 2018
pkgbase = ttf-charis-sil
pkgdesc = A transitional serif typeface based on Bitstream Charter.
pkgver = 5.000
- pkgrel = 1
+ pkgrel = 2
url = https://software.sil.org/charis/
arch = any
license = custom:OFL
diff --git a/PKGBUILD b/PKGBUILD
index c1289cbd2a6..6082c77119f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Markus Weimar <mail@markusweimar.de>
pkgname=ttf-charis-sil
pkgver=5.000
-pkgrel=1
+pkgrel=2
pkgdesc='A transitional serif typeface based on Bitstream Charter.'
arch=('any')
url='https://software.sil.org/charis/'
@@ -12,7 +12,7 @@ source=("https://software.sil.org/downloads/r/charis/CharisSIL-${pkgver}.zip")
sha256sums=('5e3e5473b30363008c289cc87e2aa584a0916087a63a3f689defa8e0cee09bfd')
package() {
- install -d ${pkgdir}/usr/share/fonts/TTF/
- install -m644 ${srcdir}/CharisSIL-${pkgver}/*.ttf ${pkgdir}/usr/share/fonts/TTF/
+ install -d ${pkgdir}/usr/share/fonts/${pkgname}/
+ install -m644 ${srcdir}/CharisSIL-${pkgver}/*.ttf ${pkgdir}/usr/share/fonts/${pkgname}/
install -D -m644 ${srcdir}/CharisSIL-${pkgver}/OFL.txt ${pkgdir}/usr/share/licenses/${pkgname}/OFL.txt
}