diff options
Diffstat (limited to 'pcr/culmus/PKGBUILD')
-rw-r--r-- | pcr/culmus/PKGBUILD | 40 |
1 files changed, 23 insertions, 17 deletions
diff --git a/pcr/culmus/PKGBUILD b/pcr/culmus/PKGBUILD index 1ba81da5a..a1b9745ff 100644 --- a/pcr/culmus/PKGBUILD +++ b/pcr/culmus/PKGBUILD @@ -1,11 +1,13 @@ -# Maintainer (Arch): Ivan Puntiy <ivan.puntiy at gmail> -# Contributor (Arch): <francois.archlinux.org> -# Maintainer: Alon Ivtsan <alonivtsan@lavabit.com> -# taken from https://aur.archlinux.org/packages/culmus/ +# Maintainer (AUR): Ivan Puntiy <ivan.puntiy at gmail> +# Contributor (AUR): <francois.archlinux.org> +# Contributor: Alon Ivtsan <alonivtsan@lavabit.com> + +# parabola changes and rationale: +# - added .install file to update fonts cache pkgname=culmus -pkgver=0.130 -pkgrel=1.1 +pkgver=0.132 +pkgrel=1 pkgdesc="A collection of Type1 and TrueType Hebrew fonts" arch=('any') url="http://culmus.sourceforge.net" @@ -16,8 +18,8 @@ source=( "http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" "$pkgname-0.121-fontconfig_fix.patch" ) -md5sums=('58e672defde4caeae42017cd2f9436a6' - '6db715a072d9602a54c69a7e31a6428f') +sha256sums=('b13e7463ede5e56da79892e6a22eaca8ae3e0fc34a30fcf7417412a45dee072c' + '6ba13854700bd9cdf6b8facd920082aed367bedabe10e93bd39cfe6bf8eb76fd') build() { cd "$srcdir/$pkgname-$pkgver" @@ -28,17 +30,21 @@ build() { package() { # install Type1 fonts - install -d ${pkgdir}/usr/share/fonts/Type1 - install -m644 ${srcdir}/culmus-$pkgver/*.{afm,pfa} \ - ${pkgdir}/usr/share/fonts/Type1 + install -m755 -d "${pkgdir}/usr/share/fonts/Type1" + install -m644 "${srcdir}/culmus-$pkgver/"*.{afm,pfa} \ + "${pkgdir}/usr/share/fonts/Type1" # install ttf fonts - install -d ${pkgdir}/usr/share/fonts/TTF - install -m644 ${srcdir}/culmus-$pkgver/*.ttf \ - ${pkgdir}/usr/share/fonts/TTF + install -m755 -d "${pkgdir}/usr/share/fonts/TTF" + install -m644 "${srcdir}/culmus-${pkgver}/"*.ttf \ + "${pkgdir}/usr/share/fonts/TTF" # install provided config file with priority 61 - install -d ${pkgdir}/etc/fonts/conf.avail/ - install -m644 ${srcdir}/culmus-$pkgver/culmus.conf \ - ${pkgdir}/etc/fonts/conf.avail/61-culmus.conf + install -m755 -d "${pkgdir}/etc/fonts/conf.avail/" + install -m644 "${srcdir}/culmus-${pkgver}/culmus.conf" \ + "${pkgdir}/etc/fonts/conf.avail/61-culmus.conf" + + # symlink for the abovementioned config file + install -m755 -d "${pkgdir}/etc/fonts/conf.d" + ln -fs "../conf.avail/61-culmus.conf" "${pkgdir}/etc/fonts/conf.d/" } |