Date: Tuesday, March 17, 2015 @ 10:57:53 Author: fyan Revision: 129405
archrelease: copy trunk to community-any Added: fira/repos/community-any/PKGBUILD (from rev 129404, fira/trunk/PKGBUILD) fira/repos/community-any/otf.install (from rev 129404, fira/trunk/otf.install) fira/repos/community-any/ttf.install (from rev 129404, fira/trunk/ttf.install) Deleted: fira/repos/community-any/PKGBUILD fira/repos/community-any/otf.install fira/repos/community-any/ttf.install -------------+ PKGBUILD | 130 +++++++++++++++++++++++++++++----------------------------- otf.install | 30 ++++++------- ttf.install | 30 ++++++------- 3 files changed, 95 insertions(+), 95 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-03-17 09:57:17 UTC (rev 129404) +++ PKGBUILD 2015-03-17 09:57:53 UTC (rev 129405) @@ -1,65 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=fira -pkgname=(ttf-fira-sans ttf-fira-mono otf-fira-sans otf-fira-mono) -pkgver=4.001 -_commit=c23e133779f999afc6f4c4a8bc1e178ae1c9e089 -pkgrel=1 -epoch=1 -pkgdesc="Mozilla's typeface designed for Firefox OS" -arch=('any') -license=('custom:OFL') -url='https://github.com/mozilla/Fira' -makedepends=('git') -depends=('fontconfig' 'xorg-font-utils') -source=("git+https://github.com/mozilla/Fira.git#commit=$_commit" - ttf.install otf.install) -md5sums=('SKIP' - '9d795e681b14231a6f234c8d2a6d9957' - '56bf7b135ff34a40513d5a832d882bff') - -function _package { - cd "$srcdir/Fira" - - case "$1" in - ttf-fira-sans) - pkgdesc="Mozilla's sans-serif typeface designed for Firefox OS" - install=ttf.install - cd ttf - fonts=(FiraSans-*.ttf) - installdir=TTF;; - ttf-fira-mono) - pkgdesc="Mozilla's monospace typeface designed for Firefox OS" - install=ttf.install - cd ttf - fonts=(FiraMono-*.ttf) - installdir=TTF;; - otf-fira-sans) - pkgdesc="Mozilla's sans-serif typeface designed for Firefox OS" - install=otf.install - cd otf - fonts=(FiraSans-*.otf) - installdir=OTF;; - otf-fira-mono) - pkgdesc="Mozilla's monospace typeface designed for Firefox OS" - install=otf.install - cd otf - fonts=(FiraMono-*.otf) - installdir=OTF;; - esac - - # Prepare destination directory - install -dm755 "$pkgdir/usr/share/fonts/$installdir" - - # Install fonts - for font in "${fonts[@]}"; do - install -m644 "$font" "$pkgdir/usr/share/fonts/$installdir" - done - - install -D -m644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -for _pkgname in ${pkgname[@]}; do - eval "function package_$_pkgname() { _package $_pkgname; }" -done Copied: fira/repos/community-any/PKGBUILD (from rev 129404, fira/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-03-17 09:57:53 UTC (rev 129405) @@ -0,0 +1,65 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgbase=fira +pkgname=(ttf-fira-sans ttf-fira-mono otf-fira-sans otf-fira-mono) +pkgver=4.003 +_commit=98ab98d65f17767c111bba45b15d805e44e8947d +pkgrel=1 +epoch=1 +pkgdesc="Mozilla's typeface designed for Firefox OS" +arch=('any') +license=('custom:OFL') +url='https://github.com/mozilla/Fira' +makedepends=('git') +depends=('fontconfig' 'xorg-font-utils') +source=("git+https://github.com/mozilla/Fira.git#commit=$_commit" + ttf.install otf.install) +md5sums=('SKIP' + '9d795e681b14231a6f234c8d2a6d9957' + '56bf7b135ff34a40513d5a832d882bff') + +function _package { + cd "$srcdir/Fira" + + case "$1" in + ttf-fira-sans) + pkgdesc="Mozilla's sans-serif typeface designed for Firefox OS" + install=ttf.install + cd ttf + fonts=(FiraSans-*.ttf) + installdir=TTF;; + ttf-fira-mono) + pkgdesc="Mozilla's monospace typeface designed for Firefox OS" + install=ttf.install + cd ttf + fonts=(FiraMono-*.ttf) + installdir=TTF;; + otf-fira-sans) + pkgdesc="Mozilla's sans-serif typeface designed for Firefox OS" + install=otf.install + cd otf + fonts=(FiraSans-*.otf) + installdir=OTF;; + otf-fira-mono) + pkgdesc="Mozilla's monospace typeface designed for Firefox OS" + install=otf.install + cd otf + fonts=(FiraMono-*.otf) + installdir=OTF;; + esac + + # Prepare destination directory + install -dm755 "$pkgdir/usr/share/fonts/$installdir" + + # Install fonts + for font in "${fonts[@]}"; do + install -m644 "$font" "$pkgdir/usr/share/fonts/$installdir" + done + + install -D -m644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +for _pkgname in ${pkgname[@]}; do + eval "function package_$_pkgname() { _package $_pkgname; }" +done Deleted: otf.install =================================================================== --- otf.install 2015-03-17 09:57:17 UTC (rev 129404) +++ otf.install 2015-03-17 09:57:53 UTC (rev 129405) @@ -1,15 +0,0 @@ -post_install() { - echo -n "Updating font cache... " - fc-cache -s > /dev/null - mkfontscale /usr/share/fonts/OTF - mkfontdir /usr/share/fonts/OTF - echo "done." -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -} Copied: fira/repos/community-any/otf.install (from rev 129404, fira/trunk/otf.install) =================================================================== --- otf.install (rev 0) +++ otf.install 2015-03-17 09:57:53 UTC (rev 129405) @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -s > /dev/null + mkfontscale /usr/share/fonts/OTF + mkfontdir /usr/share/fonts/OTF + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} Deleted: ttf.install =================================================================== --- ttf.install 2015-03-17 09:57:17 UTC (rev 129404) +++ ttf.install 2015-03-17 09:57:53 UTC (rev 129405) @@ -1,15 +0,0 @@ -post_install() { - echo -n "Updating font cache... " - fc-cache -s > /dev/null - mkfontscale /usr/share/fonts/TTF - mkfontdir /usr/share/fonts/TTF - echo "done." -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -} Copied: fira/repos/community-any/ttf.install (from rev 129404, fira/trunk/ttf.install) =================================================================== --- ttf.install (rev 0) +++ ttf.install 2015-03-17 09:57:53 UTC (rev 129405) @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -s > /dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +}