summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2020-02-19 09:49:27 +0300
committerCaleb Maclennan2020-02-19 09:49:27 +0300
commitad784d2505f8e982b7e4b6b9c42927b2b0475933 (patch)
tree192202ceb809b57630d6375f903a2ade8a22a489
parent9571029cdb971c852eac15fa22659e2e0a163cbd (diff)
downloadaur-ad784d2505f8e982b7e4b6b9c42927b2b0475933.tar.gz
Package font documentation
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8cd7b7ea3d4..82acebb8886 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ttf-sil-harmattan
pkgdesc = An Arabic script font designed for use by languages in West Africa
pkgver = 1.001
- pkgrel = 2
+ pkgrel = 3
url = https://software.sil.org/harmattan
arch = any
license = OFL
diff --git a/PKGBUILD b/PKGBUILD
index 9261131e39a..3799d91f0d8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ _pkgname=harmattan
pkgname=ttf-sil-$_pkgname
_fname=${_pkgname^}
pkgver=1.001
-pkgrel=2
+pkgrel=3
pkgdesc='An Arabic script font designed for use by languages in West Africa'
arch=('any')
url="https://software.sil.org/$_pkgname"
@@ -14,7 +14,8 @@ 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"
+ find -type f -name "$_fname*.ttf" -execdir \
+ install -Dm644 -t "$pkgdir/usr/share/fonts/TTF" {} \;
+ install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" README.txt FONTLOG.txt documentation/*.pdf
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" OFL.txt
}