mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
36 lines
1.2 KiB
Bash
36 lines
1.2 KiB
Bash
|
# Maintainer: Loui Chang <louipc dot ist at gmail company>
|
||
|
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||
|
|
||
|
pkgname=oldstand-font
|
||
|
pkgver=2.0.2
|
||
|
pkgrel=3
|
||
|
pkgdesc="Old Standard fonts"
|
||
|
url="http://www.thessalonica.org.ru/en/fonts.html"
|
||
|
arch=('any')
|
||
|
license=('OFL')
|
||
|
depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig')
|
||
|
makedepends=('unzip')
|
||
|
install=oldstand.install
|
||
|
source=(http://www.thessalonica.org.ru/downloads/oldstandard-$pkgver.otf.zip
|
||
|
http://www.thessalonica.org.ru/downloads/oldstandard-$pkgver.ttf.zip
|
||
|
http://www.thessalonica.org.ru/downloads/tempora-lgc.otf.zip
|
||
|
http://www.thessalonica.org.ru/downloads/tempora-lgc.ttf.zip)
|
||
|
md5sums=('7f07252db5d91fc0af25fab3f0ba2162'
|
||
|
'1d6cd20569f561f858e13e9248a658fe'
|
||
|
'602808695c1306ff572e7d39cd512ba8'
|
||
|
'46c5ef4c074583a451ec56336011a12d')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src
|
||
|
mkdir -p $pkgdir/usr/share/fonts/TTF
|
||
|
mkdir -p $pkgdir/usr/share/fonts/OTF
|
||
|
|
||
|
cp *.ttf $pkgdir/usr/share/fonts/TTF || return 1
|
||
|
cp *.otf $pkgdir/usr/share/fonts/OTF || return 1
|
||
|
chmod 0644 $pkgdir/usr/share/fonts/OTF/*
|
||
|
chmod 0644 $pkgdir/usr/share/fonts/TTF/*
|
||
|
|
||
|
install -D -m0644 $srcdir/OFL.txt \
|
||
|
$pkgdir/usr/share/licenses/$pkgname/OFL.txt
|
||
|
}
|