diff options
author | Shackra Sislock <jorgean@lavabit.com> | 2013-07-28 00:05:17 -0600 |
---|---|---|
committer | Shackra Sislock <jorgean@lavabit.com> | 2013-07-28 00:05:17 -0600 |
commit | 24a60eb2731228e05ffa0ed9dade0d6b56f9785f (patch) | |
tree | 5968c5be0899eeba7cbc294a12b39e165a7be4a7 /pcr/culmus/PKGBUILD | |
parent | 6785d5420eb83d9990842bd812458ad862c0d9e7 (diff) | |
parent | 946d64a4f98b36d70189c65010e666a597ad7aab (diff) | |
download | abslibre-24a60eb2731228e05ffa0ed9dade0d6b56f9785f.tar.gz abslibre-24a60eb2731228e05ffa0ed9dade0d6b56f9785f.tar.bz2 abslibre-24a60eb2731228e05ffa0ed9dade0d6b56f9785f.zip |
merging...
Diffstat (limited to 'pcr/culmus/PKGBUILD')
-rw-r--r-- | pcr/culmus/PKGBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pcr/culmus/PKGBUILD b/pcr/culmus/PKGBUILD new file mode 100644 index 000000000..3d1a5f567 --- /dev/null +++ b/pcr/culmus/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer (Arch): Ivan Puntiy <ivan.puntiy at gmail> +# Contributor (Arch): <francois.archlinux.org> +# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com> +# taken from https://aur.archlinux.org/packages/culmus/ + +pkgname=culmus +pkgver=0.130 +pkgrel=1 +pkgdesc="A collection of Type1 and TrueType Hebrew fonts" +arch=('any') +url="http://culmus.sourceforge.net" +license=('GPL2') +depends=('fontconfig' 'xorg-fonts-alias' 'xorg-font-utils' 'xorg-fonts-encodings') +install=${pkgname}.install +source=( + "http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" + "$pkgname-0.121-fontconfig_fix.patch" +) +md5sums=('58e672defde4caeae42017cd2f9436a6' + '6db715a072d9602a54c69a7e31a6428f') + +build() { + 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" +} + +package() { + # install Type1 fonts + install -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 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 +} |