diff options
author | Ivan Puntiy | 2018-05-11 22:14:29 +0300 |
---|---|---|
committer | Ivan Puntiy | 2018-05-11 22:14:29 +0300 |
commit | dfb104c57a42f5f14273115d1c5e76ce9306a3df (patch) | |
tree | ac1791bf5931569e8405d215efeb13c59decf4c4 | |
parent | b23da1ecc022aba346906dab8d066705408b31af (diff) | |
download | aur-dfb104c57a42f5f14273115d1c5e76ce9306a3df.tar.gz |
Added otf fonts
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 12 insertions, 7 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sat Jan 20 21:06:50 UTC 2018 +# Fri May 11 19:14:04 UTC 2018 pkgbase = culmus pkgdesc = A collection of Type1 and TrueType Hebrew fonts pkgver = 0.132 - pkgrel = 1 + pkgrel = 2 url = http://culmus.sourceforge.net arch = any license = GPL2 @@ -3,7 +3,7 @@ pkgname=culmus pkgver=0.132 -pkgrel=1 +pkgrel=2 pkgdesc="A collection of Type1 and TrueType Hebrew fonts" arch=('any') url="http://culmus.sourceforge.net" @@ -11,22 +11,22 @@ license=('GPL2') depends=('fontconfig' 'xorg-fonts-alias' 'xorg-font-utils' 'xorg-fonts-encodings') source=( "http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" - "$pkgname-0.121-fontconfig_fix.patch" + "${pkgname}-0.121-fontconfig_fix.patch" ) sha256sums=('b13e7463ede5e56da79892e6a22eaca8ae3e0fc34a30fcf7417412a45dee072c' '6ba13854700bd9cdf6b8facd920082aed367bedabe10e93bd39cfe6bf8eb76fd') build() { - cd "$srcdir/$pkgname-$pkgver" + cd "${srcdir}/${pkgname}-${pkgver}" # fix due to fontconfig 2.10.1 update - patch mailed to upstream - patch culmus.conf "$srcdir/$pkgname-0.121-fontconfig_fix.patch" + patch culmus.conf "${srcdir}/${pkgname}-0.121-fontconfig_fix.patch" } package() { # install Type1 fonts install -m755 -d "${pkgdir}/usr/share/fonts/Type1" - install -m644 "${srcdir}/culmus-$pkgver/"*.{afm,pfa} \ + install -m644 "${srcdir}/culmus-${pkgver}/"*.{afm,pfa} \ "${pkgdir}/usr/share/fonts/Type1" # install ttf fonts @@ -34,6 +34,11 @@ package() { install -m644 "${srcdir}/culmus-${pkgver}/"*.ttf \ "${pkgdir}/usr/share/fonts/TTF" + # install otf fonts + install -m755 -d "${pkgdir}/usr/share/fonts/OTF" + install -m644 "${srcdir}/culmus-${pkgver}/"*.otf \ + "${pkgdir}/usr/share/fonts/OTF" + # install provided config file with priority 61 install -m755 -d "${pkgdir}/etc/fonts/conf.avail/" install -m644 "${srcdir}/culmus-${pkgver}/culmus.conf" \ |