updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / ttf-oxygen-git / PKGBUILD
blob8dca0b06a06b1b4de87b5cb45110d8c51f9f100e
1 # Maintainer: Stephane Peralta <stef312@gmail.com>
3 pkgname=ttf-oxygen-git
4 pkgver=20120117
5 pkgrel=1
6 pkgdesc='A desktop/gui font family for integrated use with the KDE desktop.'
7 arch=('any')
8 install=
9 source=()
10 license=('Open Font License, Version 1.1')
11 url="https://projects.kde.org/projects/playground/artwork/oxygen-fonts"
12 depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
13 makedepends=('git')
15 _gitname="oxygen-fonts"
16 _gitroot="git://anongit.kde.org/${_gitname}"
18 build() {
19         cd $srcdir
20         
21         if [ -d $_gitname ]; then
22                 cd $_gitname && git pull origin
23         else
24                 git clone $_gitroot $_gitname
25         fi
27         install -d $pkgdir/usr/share/fonts/TTF/
28         install -m644 $srcdir/$_gitname/Monospace/*.ttf $pkgdir/usr/share/fonts/TTF/
29         install -m644 $srcdir/$_gitname/Oxygen-Bold//*.ttf $pkgdir/usr/share/fonts/TTF/
30         install -m644 $srcdir/$_gitname/Oxygen-Regular/*.ttf $pkgdir/usr/share/fonts/TTF/