summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2020-02-19 09:37:30 +0300
committerCaleb Maclennan2020-02-19 09:37:30 +0300
commit2e6367c65d4d1e0907ec3b54b26245139c27ebb0 (patch)
treeffd03923cc42a45cd0992a313fba68a12a411121
parent60db850375b48bfade713293980012a20e0706a9 (diff)
downloadaur-2e6367c65d4d1e0907ec3b54b26245139c27ebb0.tar.gz
Package font documentation
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 8 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fce57a14268..ecd3875faee 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,10 @@
pkgbase = ttf-sil-doulos
pkgdesc = complete support for the International Phonetic Alphabet
pkgver = 5.000
- pkgrel = 2
+ pkgrel = 3
url = https://software.sil.org/doulos
arch = any
- license = custom:OFL
+ license = OFL
source = http://software.sil.org/downloads/r/doulos/DoulosSIL-5.000.zip
sha256sums = 0b309c3db813a98ce884c0bd25c7f5c0bd96bbffd076459e39298812ca22472e
diff --git a/PKGBUILD b/PKGBUILD
index 03970a48bda..aa742c55ff7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,17 +4,18 @@ _pkgname=doulos
pkgname=ttf-sil-$_pkgname
_fname=${_pkgname^}SIL
pkgver=5.000
-pkgrel=2
+pkgrel=3
pkgdesc='complete support for the International Phonetic Alphabet'
arch=('any')
url="https://software.sil.org/$_pkgname"
-license=('custom:OFL')
+license=('OFL')
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"
+ 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
}