updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / oldstand-font / PKGBUILD
blob797bbd20660032fc5b3dcd606fd5eab5d9a7b7c8
1 #  Maintainer: Loui Chang <louipc dot ist at gmail company>
2 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
4 pkgname=oldstand-font
5 pkgver=2.2
6 pkgrel=1
7 pkgdesc="Old Standard fonts"
8 url="http://www.thessalonica.org.ru/en/fonts.html"
9 arch=('any')
10 license=('OFL')
11 depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig')
12 makedepends=('unzip')
13 install=oldstand.install
14 source=(http://www.thessalonica.org.ru/downloads/oldstandard-$pkgver.otf.zip
15         http://www.thessalonica.org.ru/downloads/oldstandard-$pkgver.ttf.zip
16         http://www.thessalonica.org.ru/downloads/tempora-lgc.otf.zip
17         http://www.thessalonica.org.ru/downloads/tempora-lgc.ttf.zip)
18 md5sums=('f590bdf4960c36c9c1cbd0a75e06d721'
19          'd6b17fd7cb4f7a06db95558696f5bb3e'
20          '602808695c1306ff572e7d39cd512ba8'
21          '46c5ef4c074583a451ec56336011a12d')
23 build() {
24   cd $startdir/src
25   mkdir -p $pkgdir/usr/share/fonts/TTF
26   mkdir -p $pkgdir/usr/share/fonts/OTF
28   cp *.ttf $pkgdir/usr/share/fonts/TTF || return 1
29   cp *.otf $pkgdir/usr/share/fonts/OTF || return 1
30   chmod 0644 $pkgdir/usr/share/fonts/OTF/*
31   chmod 0644 $pkgdir/usr/share/fonts/TTF/*
33   install -D -m0644 $srcdir/OFL.txt \
34   $pkgdir/usr/share/licenses/$pkgname/OFL.txt