[arch-commits] Commit in fira-mono/repos/community-any (4 files)
Felix Yan
felixonmars at archlinux.org
Sun Apr 23 17:35:39 UTC 2017
Date: Sunday, April 23, 2017 @ 17:35:38
Author: felixonmars
Revision: 224627
archrelease: copy trunk to community-any
Added:
fira-mono/repos/community-any/PKGBUILD
(from rev 224626, fira-mono/trunk/PKGBUILD)
Deleted:
fira-mono/repos/community-any/PKGBUILD
fira-mono/repos/community-any/otf.install
fira-mono/repos/community-any/ttf.install
-------------+
PKGBUILD | 100 +++++++++++++++++++++++++++-------------------------------
otf.install | 15 --------
ttf.install | 15 --------
3 files changed, 47 insertions(+), 83 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-04-23 17:35:09 UTC (rev 224626)
+++ PKGBUILD 2017-04-23 17:35:38 UTC (rev 224627)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=fira-mono
-pkgname=(ttf-fira-mono otf-fira-mono)
-pkgver=3.206
-_tag=4.106 # Tags are at Fira Sans' version
-pkgrel=1
-epoch=2
-pkgdesc="Mozilla's typeface designed for Firefox OS (Monospace)"
-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#tag=$_tag"
- ttf.install otf.install)
-md5sums=('SKIP'
- '9d795e681b14231a6f234c8d2a6d9957'
- '56bf7b135ff34a40513d5a832d882bff')
-
-function _package {
- cd "$srcdir/Fira"
-
- case "$1" in
- ttf-fira-mono)
- pkgdesc="Mozilla's monospace typeface designed for Firefox OS"
- install=ttf.install
- cd ttf
- fonts=(FiraMono*.ttf)
- installdir=TTF;;
- 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-mono/repos/community-any/PKGBUILD (from rev 224626, fira-mono/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-04-23 17:35:38 UTC (rev 224627)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=fira-mono
+pkgname=(ttf-fira-mono otf-fira-mono)
+pkgver=3.206
+_tag=4.106 # Tags are at Fira Sans' version
+pkgrel=2
+epoch=2
+pkgdesc="Mozilla's typeface designed for Firefox OS (Monospace)"
+arch=('any')
+license=('custom:OFL')
+url='https://github.com/mozilla/Fira'
+depends=('fontconfig' 'xorg-font-utils')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/mozilla/Fira/archive/$_tag.tar.gz")
+sha512sums=('e8ad42351065f6a9308c5a7315f126886d243a6789425507a381a1d31443cd1aa8d981d04956bd2f2d0a193a9f3f7bc7d94cfec4b5dcfb0389d7d963295686d3')
+
+function _package {
+ cd Fira-$_tag
+
+ case "$1" in
+ ttf-fira-mono)
+ pkgdesc="Mozilla's monospace typeface designed for Firefox OS"
+ cd ttf
+ fonts=(FiraMono*.ttf)
+ installdir=TTF;;
+ otf-fira-mono)
+ pkgdesc="Mozilla's monospace typeface designed for Firefox OS"
+ 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 2017-04-23 17:35:09 UTC (rev 224626)
+++ otf.install 2017-04-23 17:35:38 UTC (rev 224627)
@@ -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
-}
Deleted: ttf.install
===================================================================
--- ttf.install 2017-04-23 17:35:09 UTC (rev 224626)
+++ ttf.install 2017-04-23 17:35:38 UTC (rev 224627)
@@ -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
-}
More information about the arch-commits
mailing list