[arch-commits] Commit in gtksourceview/repos (extra-i686 extra-i686/PKGBUILD)

Allan McRae allan at archlinux.org
Sat Oct 31 11:53:51 UTC 2009


    Date: Saturday, October 31, 2009 @ 07:53:51
  Author: allan
Revision: 57063

Merged revisions 57062 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/gtksourceview/trunk

........
  r57062 | allan | 2009-10-31 21:52:57 +1000 (Sat, 31 Oct 2009) | 2 lines
  
  upgpkg: gtksourceview 1.8.5-3
      rebuild to get arch in package name, fix build error with recent gcc/glibc
........

Modified:
  gtksourceview/repos/extra-i686/	(properties)
  gtksourceview/repos/extra-i686/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)


Property changes on: gtksourceview/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /gtksourceview/trunk:1-20817
   + /gtksourceview/trunk:1-57062

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2009-10-31 11:52:57 UTC (rev 57062)
+++ extra-i686/PKGBUILD	2009-10-31 11:53:51 UTC (rev 57063)
@@ -3,21 +3,22 @@
 
 pkgname=gtksourceview
 pkgver=1.8.5
-pkgrel=2
+pkgrel=3
 pkgdesc="A text widget adding syntax highlighting and more to GNOME"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 license=('GPL')
-depends=('libgnomeprint>=2.18.0' 'gtk2>=2.10.11')
-makedepends=('perlxml' 'libgnomeprintui>=2.18.0' 'pkgconfig')
+depends=('libgnomeprint' 'gtk2')
+makedepends=('perlxml' 'libgnomeprintui' 'pkgconfig')
 options=('!libtool')
 url="http://www.gnome.org"
 source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.8/${pkgname}-${pkgver}.tar.bz2)
 md5sums=('de67df2944c1cccbc2d0b4a738e11050')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
+  export CFLAGS="$CFLAGS -D_GNU_SOURCE"
+  cd ${srcdir}/${pkgname}-${pkgver}
   ./configure --prefix=/usr --sysconfdir=/etc \
               --localstatedir=/var --disable-static
   make || return 1
-  make DESTDIR=${startdir}/pkg install
+  make DESTDIR=${pkgdir} install
 }




More information about the arch-commits mailing list