summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2020-02-15 15:30:43 +0300
committerCaleb Maclennan2020-02-15 15:30:43 +0300
commit83ba3ea7426c1f294468f4b76fd11165f61ad6c4 (patch)
treef81901af55455e150fff7073dbec4bc0fef8c4b9
downloadaur-83ba3ea7426c1f294468f4b76fd11165f61ad6c4.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..af9f1831c3f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = ttf-sil-awami-nastaliq
+ pkgdesc = Designed for Arabic-based writing systems using the Nastaliq-style
+ pkgver = 2.000
+ pkgrel = 1
+ url = https://software.sil.org/awami
+ arch = any
+ license = custom:OFL
+ depends = fontconfig
+ depends = xorg-font-utils
+ source = http://software.sil.org/downloads/r/awami/AwamiNastaliq-2.000.zip
+ sha256sums = caa282f45361b6f661a9aeccb039f6264b0be2dfd631f5e83c6b8ee940b5794a
+
+pkgname = ttf-sil-awami-nastaliq
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e58c9b0a2f9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+
+_pkgname=awami-nastaliq
+pkgname=ttf-sil-$_pkgname
+_fname=AwamiNastaliq
+pkgver=2.000
+pkgrel=1
+pkgdesc='Designed for Arabic-based writing systems using the Nastaliq-style'
+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=('caa282f45361b6f661a9aeccb039f6264b0be2dfd631f5e83c6b8ee940b5794a')
+
+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"
+}