[arch-commits] Commit in pango/repos (6 files)

Jan de Groot jgc at nymeria.archlinux.org
Mon Apr 1 10:00:39 UTC 2013


    Date: Monday, April 1, 2013 @ 12:00:38
  Author: jgc
Revision: 181145

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  pango/repos/gnome-unstable-i686/
  pango/repos/gnome-unstable-i686/PKGBUILD
    (from rev 181144, pango/trunk/PKGBUILD)
  pango/repos/gnome-unstable-i686/pango.install
    (from rev 181144, pango/trunk/pango.install)
  pango/repos/gnome-unstable-x86_64/
  pango/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 181144, pango/trunk/PKGBUILD)
  pango/repos/gnome-unstable-x86_64/pango.install
    (from rev 181144, pango/trunk/pango.install)

-------------------------------------+
 gnome-unstable-i686/PKGBUILD        |   30 ++++++++++++++++++++++++++++++
 gnome-unstable-i686/pango.install   |   21 +++++++++++++++++++++
 gnome-unstable-x86_64/PKGBUILD      |   30 ++++++++++++++++++++++++++++++
 gnome-unstable-x86_64/pango.install |   21 +++++++++++++++++++++
 4 files changed, 102 insertions(+)

Copied: pango/repos/gnome-unstable-i686/PKGBUILD (from rev 181144, pango/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2013-04-01 10:00:38 UTC (rev 181145)
@@ -0,0 +1,30 @@
+# $Id$ 
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=pango
+pkgver=1.34.0
+pkgrel=1
+pkgdesc="A library for layout and rendering of text"
+arch=('i686' 'x86_64')
+license=('LGPL')
+depends=('libthai' 'cairo' 'libxft' 'harfbuzz')
+makedepends=('harfbuzz' 'fontconfig' 'cairo' 'libxft' 'libthai' 'gobject-introspection')
+options=('!libtool')
+install=pango.install
+source=(http://download.gnome.org/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz)
+url="http://www.pango.org/"
+sha256sums=('105da1efe019018a9de81681d88c9ace83d2111509ab625c4be9d124a1fdce27')
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --with-included-modules=basic-fc
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make -j1 DESTDIR="${pkgdir}" install
+  install -m755 -d "${pkgdir}/etc/pango"
+}

Copied: pango/repos/gnome-unstable-i686/pango.install (from rev 181144, pango/trunk/pango.install)
===================================================================
--- gnome-unstable-i686/pango.install	                        (rev 0)
+++ gnome-unstable-i686/pango.install	2013-04-01 10:00:38 UTC (rev 181145)
@@ -0,0 +1,21 @@
+# arg 1:  the new package version
+post_install() {
+	# we need to ldconfig first, in case xfree86's libs aren't
+	# in ld.so.cache yet
+	sbin/ldconfig -r .
+	usr/bin/pango-querymodules >etc/pango/pango.modules
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+	if [ -f usr/etc/pango/pango.modules ]; then
+		rm usr/etc/pango/pango.modules
+	fi
+	post_install $1
+}
+
+# arg 1:  the old package version
+pre_remove() {
+	rm etc/pango/pango.modules
+}

Copied: pango/repos/gnome-unstable-x86_64/PKGBUILD (from rev 181144, pango/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2013-04-01 10:00:38 UTC (rev 181145)
@@ -0,0 +1,30 @@
+# $Id$ 
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=pango
+pkgver=1.34.0
+pkgrel=1
+pkgdesc="A library for layout and rendering of text"
+arch=('i686' 'x86_64')
+license=('LGPL')
+depends=('libthai' 'cairo' 'libxft' 'harfbuzz')
+makedepends=('harfbuzz' 'fontconfig' 'cairo' 'libxft' 'libthai' 'gobject-introspection')
+options=('!libtool')
+install=pango.install
+source=(http://download.gnome.org/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz)
+url="http://www.pango.org/"
+sha256sums=('105da1efe019018a9de81681d88c9ace83d2111509ab625c4be9d124a1fdce27')
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --with-included-modules=basic-fc
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make -j1 DESTDIR="${pkgdir}" install
+  install -m755 -d "${pkgdir}/etc/pango"
+}

Copied: pango/repos/gnome-unstable-x86_64/pango.install (from rev 181144, pango/trunk/pango.install)
===================================================================
--- gnome-unstable-x86_64/pango.install	                        (rev 0)
+++ gnome-unstable-x86_64/pango.install	2013-04-01 10:00:38 UTC (rev 181145)
@@ -0,0 +1,21 @@
+# arg 1:  the new package version
+post_install() {
+	# we need to ldconfig first, in case xfree86's libs aren't
+	# in ld.so.cache yet
+	sbin/ldconfig -r .
+	usr/bin/pango-querymodules >etc/pango/pango.modules
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+	if [ -f usr/etc/pango/pango.modules ]; then
+		rm usr/etc/pango/pango.modules
+	fi
+	post_install $1
+}
+
+# arg 1:  the old package version
+pre_remove() {
+	rm etc/pango/pango.modules
+}




More information about the arch-commits mailing list