[arch-commits] Commit in gtksourceview/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Sat Oct 31 11:52:57 UTC 2009
Date: Saturday, October 31, 2009 @ 07:52:57
Author: allan
Revision: 57062
upgpkg: gtksourceview 1.8.5-3
rebuild to get arch in package name, fix build error with recent gcc/glibc
Modified:
gtksourceview/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-10-31 11:49:15 UTC (rev 57061)
+++ PKGBUILD 2009-10-31 11:52:57 UTC (rev 57062)
@@ -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