[arch-commits] Commit in ttf-indic-otf/trunk (PKGBUILD install ttf-indic-otf.install)

Daniel M. Capella polyzen at archlinux.org
Sun Jan 20 19:59:47 UTC 2019


    Date: Sunday, January 20, 2019 @ 19:59:46
  Author: polyzen
Revision: 425506

HTTPS & touch ups

Added:
  ttf-indic-otf/trunk/ttf-indic-otf.install
    (from rev 425505, ttf-indic-otf/trunk/install)
Modified:
  ttf-indic-otf/trunk/PKGBUILD
Deleted:
  ttf-indic-otf/trunk/install

-----------------------+
 PKGBUILD              |   21 +++++++++++----------
 install               |   13 -------------
 ttf-indic-otf.install |   13 +++++++++++++
 3 files changed, 24 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-20 19:56:56 UTC (rev 425505)
+++ PKGBUILD	2019-01-20 19:59:46 UTC (rev 425506)
@@ -1,4 +1,5 @@
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
 # Contributor: Damir Perisa <damir.perisa at bluewin.ch>
 # Contributor: Firmicus <francois.archlinux.org> 
 
@@ -6,17 +7,17 @@
 pkgver=0.2
 pkgrel=9
 pkgdesc='Indic Opentype Fonts collection'
-url='http://www.indlinux.org/wiki/index.php/Downloads'
+url=https://indlinux.org/wiki/index.php/Downloads
 license=('GPL')
 arch=('any')
-depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig')
-source=("http://www.indlinux.org/downloads/files/indic-otf-${pkgver}.tar.gz")
-sha256sums=('6459a0d496a701fdde785eccfb2a21ad761251bd332e03521657443339215e72')
+depends=('fontconfig' 'xorg-fonts-alias' 'xorg-fonts-encodings' 'xorg-font-utils')
+install=$pkgname.install
+source=("https://indlinux.org/downloads/files/indic-otf-$pkgver.tar.gz")
+sha512sums=('ecb85ca38b40b0afd23c57a5529e3a5eec175852d28d5f9e49592e53f91530ff63737e86df3fe574daf725a673eb59c1ec653b25c7a67642bbfe378df7964bfb')
 
-install=install
-
 package() {
-	cd "${srcdir}"/indic/OpenType
-	install -d "${pkgdir}"/usr/share/fonts/TTF
-	install -m644 *.ttf "${pkgdir}"/usr/share/fonts/TTF
+  cd indic/OpenType
+  install -Dm644 -t "$pkgdir"/usr/share/fonts/TTF *.ttf
 }
+
+# vim:set ts=2 sw=2 et:

Deleted: install
===================================================================
--- install	2019-01-20 19:56:56 UTC (rev 425505)
+++ install	2019-01-20 19:59:46 UTC (rev 425506)
@@ -1,13 +0,0 @@
-post_install() {
-	fc-cache -s > /dev/null
-	mkfontscale usr/share/fonts/TTF
-	mkfontdir usr/share/fonts/TTF
-}
-
-post_upgrade() {
-	post_install
-}
-
-post_remove() {
-	post_install
-}

Copied: ttf-indic-otf/trunk/ttf-indic-otf.install (from rev 425505, ttf-indic-otf/trunk/install)
===================================================================
--- ttf-indic-otf.install	                        (rev 0)
+++ ttf-indic-otf.install	2019-01-20 19:59:46 UTC (rev 425506)
@@ -0,0 +1,13 @@
+post_install() {
+  fc-cache -s > /dev/null
+  mkfontscale usr/share/fonts/TTF
+  mkfontdir usr/share/fonts/TTF
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



More information about the arch-commits mailing list