diff options
author | Caleb Maclennan | 2020-02-15 13:21:42 +0300 |
---|---|---|
committer | Caleb Maclennan | 2020-02-15 13:21:42 +0300 |
commit | 6d7ac9f2edf39ee7d83c94666b2425ea2956b23a (patch) | |
tree | acf85f423abc1ea18221d73fb13fe429b4d6c8c8 | |
download | aur-6d7ac9f2edf39ee7d83c94666b2425ea2956b23a.tar.gz |
Initial independent packaging, previously in ttf-sil-fonts
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7e6be15d756c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = ttf-sil-nuosu + pkgdesc = Unicode font for the standardized Yi script + pkgver = 2.1.1 + pkgrel = 1 + url = https://software.sil.org/nuosu + arch = any + license = custom:OFL + depends = fontconfig + depends = xorg-font-utils + source = http://software.sil.org/downloads/r/nuosu/NuosuSIL-2.1.1.zip + sha256sums = b1acb6da9b9ccaa921fea1f8e206c743928f84fb083dbeb77485e1824cdcf9e7 + +pkgname = ttf-sil-nuosu + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f743d4956a8d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Caleb Maclennan <caleb@alerque.com> + +_pkgname=nuosu +pkgname=ttf-sil-$_pkgname +_fname=${_pkgname^}SIL +pkgver=2.1.1 +pkgrel=1 +pkgdesc='Unicode font for the standardized Yi script' +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=('b1acb6da9b9ccaa921fea1f8e206c743928f84fb083dbeb77485e1824cdcf9e7') + +package() { + cd "$_fname" + 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" +} |