summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCaleb Maclennan2020-02-15 13:57:03 +0300
committerCaleb Maclennan2020-02-15 13:57:03 +0300
commit71893416e33b6b2613ba5a7526c1de5f4a6ba885 (patch)
treeba585114b1cb778b5617dea2f39da3070b7a2fb8 /PKGBUILD
downloadaur-71893416e33b6b2613ba5a7526c1de5f4a6ba885.tar.gz
Initial independent packaging, previously in ttf-sil-fonts
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..39313fd53e9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+
+_pkgname=sophia-nubian
+pkgname=ttf-sil-$_pkgname
+_fname=SophiaNubian
+pkgver=1.0
+pkgrel=1
+pkgdesc='Unicode font with coverage of Coptic Unicode character set for Nubian languages'
+arch=('any')
+url="https://software.sil.org/${_pkgname/-}"
+license=('custom:OFL')
+depends=('fontconfig' 'xorg-font-utils')
+source=("http://software.sil.org/downloads/r/$_pkgname/$_fname-$pkgver.zip")
+sha256sums=('d1c4748b712cd43f3fd30f8a6a34ee362d102912e900c82f04380206ae7b9b5f')
+
+package() {
+ cd "$_fname"
+ find -type f -iname "SN*.ttf" -execdir \
+ install -Dm644 {} -t "$pkgdir/usr/share/fonts/TTF" \;
+ install -Dm644 OFL.txt -t "$pkgdir/usr/share/licenses/$pkgname"
+}