diff options
Diffstat (limited to 'extra/liberation-ttf/Pkgfile')
-rw-r--r-- | extra/liberation-ttf/Pkgfile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/liberation-ttf/Pkgfile b/extra/liberation-ttf/Pkgfile new file mode 100644 index 000000000..052a1c174 --- /dev/null +++ b/extra/liberation-ttf/Pkgfile @@ -0,0 +1,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=1.04 +release=1 +source=(http://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-$version.tar.gz) + +build() { + cd liberation-fonts-$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/ +} + |