[arch-commits] Commit in ttf-indic-otf/trunk (PKGBUILD install ttf.install)
Gaetan Bisson
bisson at archlinux.org
Mon Feb 6 08:02:39 UTC 2012
Date: Monday, February 6, 2012 @ 03:02:39
Author: bisson
Revision: 149194
signed rebuild for free
Added:
ttf-indic-otf/trunk/install
(from rev 149179, ttf-indic-otf/trunk/ttf.install)
Modified:
ttf-indic-otf/trunk/PKGBUILD
Deleted:
ttf-indic-otf/trunk/ttf.install
-------------+
PKGBUILD | 24 +++++++++++++-----------
install | 15 +++++++++++++++
ttf.install | 15 ---------------
3 files changed, 28 insertions(+), 26 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-02-06 08:01:59 UTC (rev 149193)
+++ PKGBUILD 2012-02-06 08:02:39 UTC (rev 149194)
@@ -1,21 +1,23 @@
# $Id$
# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
-# Maintainer: Firmicus <francois.archlinux.org>
+# Contributor: Firmicus <francois.archlinux.org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
pkgname=ttf-indic-otf
pkgver=0.2
-pkgrel=5
-pkgdesc="Indic Opentype Fonts collection"
+pkgrel=6
+pkgdesc='Indic Opentype Fonts collection'
+url='http://www.indlinux.org/wiki/index.php/Downloads'
+license=('GPL')
arch=('any')
-url="http://www.indlinux.org/wiki/index.php/Downloads"
-license=('GPL')
depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig')
-install=ttf.install
-source=(http://www.indlinux.org/downloads/files/indic-otf-0.2.tar.gz)
-md5sums=('d50bb65a39d78608be3560f38f003d21')
+source=("http://www.indlinux.org/downloads/files/indic-otf-${pkgver}.tar.gz")
+sha1sums=('0f7ae06343a6cc757c20f5eb5b637654146e60a1')
+install=install
+
build() {
- cd ${srcdir}/indic/OpenType
- install -d ${pkgdir}/usr/share/fonts/TTF
- install -m644 *.ttf ${pkgdir}/usr/share/fonts/TTF/
+ cd "${srcdir}"/indic/OpenType
+ install -d "${pkgdir}"/usr/share/fonts/TTF
+ install -m644 *.ttf "${pkgdir}"/usr/share/fonts/TTF
}
Copied: ttf-indic-otf/trunk/install (from rev 149179, ttf-indic-otf/trunk/ttf.install)
===================================================================
--- install (rev 0)
+++ install 2012-02-06 08:02:39 UTC (rev 149194)
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -f > /dev/null
+ mkfontscale usr/share/fonts/TTF
+ mkfontdir usr/share/fonts/TTF
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
Deleted: ttf.install
===================================================================
--- ttf.install 2012-02-06 08:01:59 UTC (rev 149193)
+++ ttf.install 2012-02-06 08:02:39 UTC (rev 149194)
@@ -1,15 +0,0 @@
-post_install() {
- echo -n "Updating font cache... "
- fc-cache -f > /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