summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2020-02-15 12:57:46 +0300
committerCaleb Maclennan2020-02-15 12:57:46 +0300
commit8aae0e0ef2018d78368e3415e191ea6c58b0e3ca (patch)
tree26bb1f40dfbc3a3ed50cd781ef300f94873c63ff
downloadaur-8aae0e0ef2018d78368e3415e191ea6c58b0e3ca.tar.gz
Initial independent packaging, previously in ttf-sil-fonts
-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..b8876743c63
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = ttf-sil-doulos
+ pkgdesc = complete support for the International Phonetic Alphabet
+ pkgver = 5.000
+ pkgrel = 1
+ url = https://software.sil.org/doulos
+ arch = any
+ license = custom:OFL
+ depends = fontconfig
+ depends = xorg-font-utils
+ source = http://software.sil.org/downloads/r/doulos/DoulosSIL-5.000.zip
+ sha256sums = 0b309c3db813a98ce884c0bd25c7f5c0bd96bbffd076459e39298812ca22472e
+
+pkgname = ttf-sil-doulos
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c60510d56b2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+
+_pkgname=doulos
+pkgname=ttf-sil-$_pkgname
+_fname=${_pkgname^}SIL
+pkgver=5.000
+pkgrel=1
+pkgdesc='complete support for the International Phonetic Alphabet'
+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=('0b309c3db813a98ce884c0bd25c7f5c0bd96bbffd076459e39298812ca22472e')
+
+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"
+}