summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2020-02-15 15:40:27 +0300
committerCaleb Maclennan2020-02-15 15:40:27 +0300
commitc1947b42188246fe0bfcda07307173d4d9e18315 (patch)
tree46b4087b3c37cf51172f273e99b44f340f8382cf
downloadaur-c1947b42188246fe0bfcda07307173d4d9e18315.tar.gz
Initial packaging
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD21
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a68913ad072
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = ttf-sil-harmattan
+ pkgdesc = An Arabic script font designed for use by languages in West Africa
+ pkgver = 1.001
+ pkgrel = 1
+ url = https://software.sil.org/harmattan
+ arch = any
+ license = custom:OFL
+ depends = fontconfig
+ depends = xorg-font-utils
+ source = http://software.sil.org/downloads/r/harmattan/Harmattan-1.001.zip
+ sha256sums = bf4b24e5e38c7df908ddff1344de732b20c9f3aafd724e112f4315597aaf6be3
+
+pkgname = ttf-sil-harmattan
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bedf1b18a98
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+
+_pkgname=harmattan
+pkgname=ttf-sil-$_pkgname
+_fname=${_pkgname^}
+pkgver=1.001
+pkgrel=1
+pkgdesc='An Arabic script font designed for use by languages in West Africa'
+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=('bf4b24e5e38c7df908ddff1344de732b20c9f3aafd724e112f4315597aaf6be3')
+
+package() {
+ cd "$_fname-$pkgver"
+ find -type f -iname "$_fname*.ttf" -execdir \
+ install -Dm644 {} -t "$pkgdir/usr/share/fonts/TTF" \;
+ install -Dm644 OFL.txt -t "$pkgdir/usr/share/licenses/$pkgname"
+}