[arch-commits] Commit in fira-mono/trunk (PKGBUILD otf.install ttf.install)
Felix Yan
felixonmars at archlinux.org
Sun Apr 23 17:35:10 UTC 2017
Date: Sunday, April 23, 2017 @ 17:35:09
Author: felixonmars
Revision: 224626
upgpkg: fira-mono 2:3.206-2
remove install file
Modified:
fira-mono/trunk/PKGBUILD
Deleted:
fira-mono/trunk/otf.install
fira-mono/trunk/ttf.install
-------------+
PKGBUILD | 14 ++++----------
otf.install | 15 ---------------
ttf.install | 15 ---------------
3 files changed, 4 insertions(+), 40 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-04-23 17:27:54 UTC (rev 224625)
+++ PKGBUILD 2017-04-23 17:35:09 UTC (rev 224626)
@@ -5,33 +5,27 @@
pkgname=(ttf-fira-mono otf-fira-mono)
pkgver=3.206
_tag=4.106 # Tags are at Fira Sans' version
-pkgrel=1
+pkgrel=2
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')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/mozilla/Fira/archive/$_tag.tar.gz")
+sha512sums=('e8ad42351065f6a9308c5a7315f126886d243a6789425507a381a1d31443cd1aa8d981d04956bd2f2d0a193a9f3f7bc7d94cfec4b5dcfb0389d7d963295686d3')
function _package {
- cd "$srcdir/Fira"
+ cd Fira-$_tag
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;;
Deleted: otf.install
===================================================================
--- otf.install 2017-04-23 17:27:54 UTC (rev 224625)
+++ otf.install 2017-04-23 17:35:09 UTC (rev 224626)
@@ -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:27:54 UTC (rev 224625)
+++ ttf.install 2017-04-23 17:35:09 UTC (rev 224626)
@@ -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