PKGBUILDs/extra/culmus/PKGBUILD

31 lines
987 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 52024 2009-09-14 12:26:55Z francois $
# Maintainer: <francois.archlinux.org>
pkgname=culmus
pkgver=0.103
pkgrel=1
pkgdesc="A collection of Type1 and TrueType Hebrew fonts"
arch=(any)
url="http://culmus.sf.net"
license=('GPL2')
depends=('fontconfig' 'xorg-fonts-alias' 'xorg-font-utils' 'xorg-fonts-encodings')
install=('culmus.install')
source=("http://downloads.sourceforge.net/sourceforge/culmus/culmus-$pkgver.tar.gz")
md5sums=('36c0fcd674eda12de6a5e9a4bc52abdb')
build() {
# install fonts
mkdir -p ${pkgdir}/usr/share/fonts/Type1
install -m644 ${srcdir}/culmus-$pkgver/*.{afm,pfa} \
${pkgdir}/usr/share/fonts/Type1
mkdir -p ${pkgdir}/usr/share/fonts/TTF
install -m644 ${srcdir}/culmus-$pkgver/*.ttf \
${pkgdir}/usr/share/fonts/TTF
# install provided config file with priority 61
mkdir -p ${pkgdir}/etc/fonts/conf.avail/
install -m644 ${srcdir}/culmus-$pkgver/culmus.conf \
${pkgdir}/etc/fonts/conf.avail/61-culmus.conf
}