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

Gaetan Bisson bisson at archlinux.org
Mon Feb 6 02:48:53 EST 2012


    Date: Monday, February 6, 2012 @ 02:48:52
  Author: bisson
Revision: 149188

signed rebuild for free

Added:
  ttf-freefont/trunk/install
    (from rev 149179, ttf-freefont/trunk/ttf-freefont.install)
Modified:
  ttf-freefont/trunk/PKGBUILD
Deleted:
  ttf-freefont/trunk/ttf-freefont.install

----------------------+
 PKGBUILD             |   22 ++++++++++++----------
 install              |   16 ++++++++++++++++
 ttf-freefont.install |   16 ----------------
 3 files changed, 28 insertions(+), 26 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-06 07:35:37 UTC (rev 149187)
+++ PKGBUILD	2012-02-06 07:48:52 UTC (rev 149188)
@@ -1,21 +1,23 @@
 # $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
 # Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
 
 pkgname=ttf-freefont
 pkgver=20100919
-pkgrel=1
-pkgdesc="A set of free high-quality TrueType fonts covering the UCS character set"
+pkgrel=2
+pkgdesc='Set of free outline fonts covering the Unicode character set'
+url='http://www.nongnu.org/freefont/'
+license=('GPL')
 arch=('any')
-url="http://www.nongnu.org/freefont/"
-license=('GPL')
 depends=('fontconfig' 'xorg-font-utils')
-install=ttf-freefont.install
-source=("http://ftp.gnu.org/gnu/freefont/freefont-ttf-$pkgver.tar.gz")
+source=("http://ftp.gnu.org/gnu/freefont/freefont-ttf-${pkgver}.tar.gz")
 sha1sums=('feb1c3349529bbb769cfe55bc901baa917507407')
 
+install=install
+
 build() {
-  cd "${srcdir}/freefont-${pkgver}"
-  install -d "$pkgdir/usr/share/fonts/TTF"
-  install -m644 *.ttf "$pkgdir/usr/share/fonts/TTF/"
+	cd "${srcdir}/freefont-${pkgver}"
+	install -d "${pkgdir}/usr/share/fonts/TTF"
+	install -m644 *.ttf "${pkgdir}/usr/share/fonts/TTF/"
 }

Copied: ttf-freefont/trunk/install (from rev 149179, ttf-freefont/trunk/ttf-freefont.install)
===================================================================
--- install	                        (rev 0)
+++ install	2012-02-06 07:48:52 UTC (rev 149188)
@@ -0,0 +1,16 @@
+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
+}
+
+post_remove() {
+	post_install
+}
+

Deleted: ttf-freefont.install
===================================================================
--- ttf-freefont.install	2012-02-06 07:35:37 UTC (rev 149187)
+++ ttf-freefont.install	2012-02-06 07:48:52 UTC (rev 149188)
@@ -1,16 +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
-}
-
-post_remove() {
-  post_install
-}
-



More information about the arch-commits mailing list