PKGBUILDs/community/wqy-bitmapfont/PKGBUILD

30 lines
1 KiB
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: JJDaNiMoTh <jjdanimoth.aur@gmail.com>
# Contributor: Tan Xiang <txcary@gmail.com>
pkgname="wqy-bitmapfont"
pkgver=0.9.9
pkgrel=5
pkgdesc="A bitmapped Song Ti (serif) Chinese font"
arch=('i686' 'x86_64')
url="http://wenq.org/"
license=('GPL' 'custom:"font embedding exception"')
depends=('xorg-font-utils' 'fontconfig')
install="$pkgname.install"
source=("http://downloads.sourceforge.net/wqy/wqy-bitmapfont-pcf-0.9.9-0.tar.gz")
md5sums=('76b9702fa7e6e4b9287bbeff927a1546')
build() {
cd $startdir/src/$pkgname
install -D -m0644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING || return 1
mkdir -p $startdir/pkg/usr/share/fonts/wqy-bitmapfont
cp *.pcf $startdir/pkg/usr/share/fonts/wqy-bitmapfont || return 1
mkdir -p $startdir/pkg/etc/fonts/conf.avail
mkdir -p $startdir/pkg/etc/fonts/conf.d
cp 85-wqy-bitmapsong.conf $startdir/pkg/etc/fonts/conf.avail || return 1
cd $startdir/pkg/etc/fonts/conf.d
ln -s ../conf.avail/85-wqy-bitmapsong.conf . || return 1
}