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

Jan de Groot jgc at archlinux.org
Thu Oct 18 19:23:06 UTC 2012


    Date: Thursday, October 18, 2012 @ 15:23:05
  Author: jgc
Revision: 169163

db-move: moved pango from [gnome-unstable] to [testing] (i686, x86_64)

Added:
  pango/repos/testing-i686/
  pango/repos/testing-i686/PKGBUILD
    (from rev 169138, pango/repos/gnome-unstable-i686/PKGBUILD)
  pango/repos/testing-i686/pango.install
    (from rev 169138, pango/repos/gnome-unstable-i686/pango.install)
  pango/repos/testing-x86_64/
  pango/repos/testing-x86_64/PKGBUILD
    (from rev 169138, pango/repos/gnome-unstable-x86_64/PKGBUILD)
  pango/repos/testing-x86_64/pango.install
    (from rev 169138, pango/repos/gnome-unstable-x86_64/pango.install)
Deleted:
  pango/repos/gnome-unstable-i686/
  pango/repos/gnome-unstable-x86_64/

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

Copied: pango/repos/testing-i686/PKGBUILD (from rev 169138, pango/repos/gnome-unstable-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-10-18 19:23:05 UTC (rev 169163)
@@ -0,0 +1,30 @@
+# $Id$ 
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=pango
+pkgver=1.32.1
+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://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz)
+url="http://www.pango.org/"
+sha256sums=('484babf7e1ac4bf959a0babe8168f180acb516932d70e2985de5f6e2961fcd82')
+
+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/testing-i686/pango.install (from rev 169138, pango/repos/gnome-unstable-i686/pango.install)
===================================================================
--- testing-i686/pango.install	                        (rev 0)
+++ testing-i686/pango.install	2012-10-18 19:23:05 UTC (rev 169163)
@@ -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/testing-x86_64/PKGBUILD (from rev 169138, pango/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-10-18 19:23:05 UTC (rev 169163)
@@ -0,0 +1,30 @@
+# $Id$ 
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=pango
+pkgver=1.32.1
+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://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz)
+url="http://www.pango.org/"
+sha256sums=('484babf7e1ac4bf959a0babe8168f180acb516932d70e2985de5f6e2961fcd82')
+
+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/testing-x86_64/pango.install (from rev 169138, pango/repos/gnome-unstable-x86_64/pango.install)
===================================================================
--- testing-x86_64/pango.install	                        (rev 0)
+++ testing-x86_64/pango.install	2012-10-18 19:23:05 UTC (rev 169163)
@@ -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