blob: aab54477999dd59ae58bb2f0ed150546118ca722 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Contributor: Ian Pickering <ipickering2@gmail.com>
pkgname=artwiz-fonts-otb
pkgver=1.3
pkgrel=11
pkgdesc="This is set of (improved) artwiz fonts (OTB version)"
arch=('any')
url="http://artwizaleczapka.sourceforge.net/"
license=('GPL2')
makedepends=('xorg-fonttosfnt')
conflicts=('artwiz-fonts')
provides=('artwiz-fonts')
source=(http://downloads.sourceforge.net/sourceforge/artwizaleczapka/artwiz-aleczapka-en-${pkgver}.tar.bz2
http://downloads.sourceforge.net/sourceforge/artwizaleczapka/artwiz-aleczapka-de-${pkgver}.tar.bz2
http://downloads.sourceforge.net/sourceforge/artwizaleczapka/artwiz-aleczapka-se-${pkgver}.tar.bz2)
sha1sums=('81e711b5f00816c57e205c9e60f69237c709679d'
'ab866d5c248642065c80acfb76c6e3d779c59599'
'6bc44a55c97963218164dd256212f7f824a0c1df')
package() {
install -d "${pkgdir}/usr/share/fonts/artwiz-fonts"
for lang in en de se; do
pushd artwiz-aleczapka-$lang-${pkgver}/
for f in *.pcf; do
fonttosfnt -c -o "${f/pcf/otb}" "$f"
done
for i in *.otb; do
install -Dpm 0644 $i "${pkgdir}/usr/share/fonts/artwiz-fonts/$i"
done
cat fonts.alias >> "${pkgdir}/usr/share/fonts/artwiz-fonts/fonts.alias"
popd
done
}
|