[arch-commits] Commit in pangomm/trunk (PKGBUILD)
Ionut Biru
ibiru at archlinux.org
Sat Apr 17 12:29:12 UTC 2010
Date: Saturday, April 17, 2010 @ 08:29:11
Author: ibiru
Revision: 77712
upgpkg: pangomm 2.26.1-1
update to 2.26.1 and split docs from main package
Modified:
pangomm/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-04-17 12:29:04 UTC (rev 77711)
+++ PKGBUILD 2010-04-17 12:29:11 UTC (rev 77712)
@@ -1,23 +1,34 @@
# $Id: PKGBUILD 5595 2008-07-18 21:58:26Z jgc $
# Maintainer: Jan de Groot <jgc at archlinux.org>
-pkgname=pangomm
-pkgver=2.26.0
+pkgbase=pangomm
+pkgname=('pangomm' 'pangomm-docs')
+pkgver=2.26.1
pkgrel=1
-pkgdesc="C++ bindings for pango"
arch=(i686 x86_64)
license=('LGPL')
-depends=('pango>=1.25.5' 'glibmm>=2.21.5' 'cairomm>=1.8.2')
-makedepends=('pkgconfig')
+makedepends=('pango>=1.28.0' 'glibmm>=2.24.0' 'cairomm>=1.8.2' 'pkgconfig')
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2)
conflicts=('gtkmm<2.13.0')
options=('!libtool')
url="http://gtkmm.sourceforge.net/"
-sha256sums=('bf26ebe42c12c81e5c32ceca80ff226a01c8d80d4db2a4cc3463d5bf241b095e')
+sha256sums=('95a0974d93dddffe65bea8adfc252907383f60fa9998de2a9a5a8c01f9cbada2')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr || return 1
make || return 1
+}
+package_pangomm() {
+ pkgdesc="C++ bindings for pango"
+ depends=('pango>=1.28.0' 'glibmm>=2.24.0' 'cairomm>=1.8.2')
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
make DESTDIR="${pkgdir}" install || return 1
}
+
+package_pangomm-docs() {
+ pkgdesc="Developer documentation for pangomm"
+ cd "${srcdir}/${pkgbase}-${pkgver}/docs"
+ make DESTDIR="${pkgdir}" install || return 1
+}
More information about the arch-commits
mailing list