[arch-commits] Commit in pango/repos (6 files)
Ionut Biru
ibiru at archlinux.org
Tue Aug 30 17:03:37 UTC 2011
Date: Tuesday, August 30, 2011 @ 13:03:36
Author: ibiru
Revision: 136586
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 136585, pango/trunk/PKGBUILD)
pango/repos/gnome-unstable-i686/pango.install
(from rev 136585, pango/trunk/pango.install)
pango/repos/gnome-unstable-x86_64/
pango/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 136585, pango/trunk/PKGBUILD)
pango/repos/gnome-unstable-x86_64/pango.install
(from rev 136585, pango/trunk/pango.install)
-------------------------------------+
gnome-unstable-i686/PKGBUILD | 29 +++++++++++++++++++++++++++++
gnome-unstable-i686/pango.install | 21 +++++++++++++++++++++
gnome-unstable-x86_64/PKGBUILD | 29 +++++++++++++++++++++++++++++
gnome-unstable-x86_64/pango.install | 21 +++++++++++++++++++++
4 files changed, 100 insertions(+)
Copied: pango/repos/gnome-unstable-i686/PKGBUILD (from rev 136585, pango/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD (rev 0)
+++ gnome-unstable-i686/PKGBUILD 2011-08-30 17:03:36 UTC (rev 136586)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=pango
+pkgver=1.29.3
+pkgrel=1
+pkgdesc="A library for layout and rendering of text"
+arch=('i686' 'x86_64')
+license=('LGPL')
+depends=('glib2' 'cairo' 'libxft' 'libthai' 'freetype2')
+makedepends=('gobject-introspection' 'libxt' 'gtk-doc')
+options=('!libtool' '!emptydirs')
+install=pango.install
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.29/${pkgname}-${pkgver}.tar.xz)
+url="http://www.pango.org/"
+sha256sums=('b0da90cdac7f384a1c678b9467d00b6b8167f12044f9db089bf359f88644e86e')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --with-included-modules=basic-fc
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: pango/repos/gnome-unstable-i686/pango.install (from rev 136585, pango/trunk/pango.install)
===================================================================
--- gnome-unstable-i686/pango.install (rev 0)
+++ gnome-unstable-i686/pango.install 2011-08-30 17:03:36 UTC (rev 136586)
@@ -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 136585, pango/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2011-08-30 17:03:36 UTC (rev 136586)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=pango
+pkgver=1.29.3
+pkgrel=1
+pkgdesc="A library for layout and rendering of text"
+arch=('i686' 'x86_64')
+license=('LGPL')
+depends=('glib2' 'cairo' 'libxft' 'libthai' 'freetype2')
+makedepends=('gobject-introspection' 'libxt' 'gtk-doc')
+options=('!libtool' '!emptydirs')
+install=pango.install
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.29/${pkgname}-${pkgver}.tar.xz)
+url="http://www.pango.org/"
+sha256sums=('b0da90cdac7f384a1c678b9467d00b6b8167f12044f9db089bf359f88644e86e')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --with-included-modules=basic-fc
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: pango/repos/gnome-unstable-x86_64/pango.install (from rev 136585, pango/trunk/pango.install)
===================================================================
--- gnome-unstable-x86_64/pango.install (rev 0)
+++ gnome-unstable-x86_64/pango.install 2011-08-30 17:03:36 UTC (rev 136586)
@@ -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