summaryrefslogtreecommitdiffstats
path: root/liberation-ttf/Pkgfile
blob: 67ad3e8ed4f30f9633d523fff1158e92cb0d3ebd (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
# Description: Polices de caractères
# URL: https://fedorahosted.org/liberation-fonts
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on:
# Run on:

name=liberation-ttf
version=2.00.0
release=1
source=(http://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-$version.tar.gz)

build() {
        cd liberation-fonts-ttf-$version
        chown -R root:root .
        find . -perm 666 -exec chmod 644 {} \;
        find . -perm 664 -exec chmod 644 {} \;
        find . -perm 600 -exec chmod 644 {} \;
        find . -perm 444 -exec chmod 644 {} \;
        find . -perm 400 -exec chmod 644 {} \;
        find . -perm 440 -exec chmod 644 {} \;
        find . -perm 777 -exec chmod 755 {} \;
        find . -perm 775 -exec chmod 755 {} \;
        find . -perm 511 -exec chmod 755 {} \;
        find . -perm 711 -exec chmod 755 {} \;
        find . -perm 555 -exec chmod 755 {} \;

        mkdir -p $PKG/usr/share/fonts/TTF/
        cp -a *.ttf $PKG/usr/share/fonts/TTF/
}