[arch-commits] Commit in font-awesome/trunk (PKGBUILD)

Morten Linderud foxboron at archlinux.org
Thu Dec 28 12:39:33 UTC 2017


    Date: Thursday, December 28, 2017 @ 12:39:32
  Author: foxboron
Revision: 276394

upgpkg: font-awesome 5.0.2-1

Updated font-awesome to 5.0.2

Modified:
  font-awesome/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-28 09:58:44 UTC (rev 276393)
+++ PKGBUILD	2017-12-28 12:39:32 UTC (rev 276394)
@@ -3,28 +3,26 @@
 
 pkgbase=font-awesome
 pkgname=(ttf-font-awesome otf-font-awesome)
-pkgver=4.7.0
-pkgrel=5
+pkgver=5.0.2
+pkgrel=1
 pkgdesc="Iconic font designed for Bootstrap"
-url="http://fontawesome.io/"
+url="http://fontawesome.com"
 license=('custom:OFL')
 arch=('any')
 depends=('fontconfig')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/FortAwesome/Font-Awesome/archive/v$pkgver.tar.gz"
-	"OFL")
-sha256sums=('de512ba0e1dead382bbfce372cde74b3f18971d876fffb635ee9333f0db05d43'
-            'e564f06d018e7b95bc3594c96a17f1d41865af4038c375e7aa974dd69df38602')
+source=("$pkgname-$pkgver.zip::https://use.fontawesome.com/releases/v${pkgver}/fontawesome-free-${pkgver}.zip")
+sha256sums=('77c18e313e2259639444126a676c5628de61c822485f152f6610c382ab6f76ed')
 
 package_ttf-font-awesome() {
-  install -Dm644 OFL "$pkgdir/usr/share/licenses/$pkgname/OFL"
-  cd "Font-Awesome-$pkgver/fonts"
+  cd "fontawesome-free-${pkgver}"
+  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
   install -d "$pkgdir/usr/share/fonts/TTF"
-  install -m644 *.ttf "$pkgdir/usr/share/fonts/TTF"
+  install -m644 ./web-fonts-with-css/webfonts/*.ttf "$pkgdir/usr/share/fonts/TTF"
 }
 
 package_otf-font-awesome() {
-  install -Dm644 OFL "$pkgdir/usr/share/licenses/$pkgname/OFL"
-  cd "Font-Awesome-$pkgver/fonts"
+  cd "fontawesome-free-${pkgver}"
+  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
   install -d "$pkgdir/usr/share/fonts/OTF"
-  install -m644 *.otf "$pkgdir/usr/share/fonts/OTF"
+  install -m644 ./use-on-desktop/*.otf "$pkgdir/usr/share/fonts/OTF"
 }



More information about the arch-commits mailing list