[arch-commits] Commit in libots/trunk (PKGBUILD gcc4.patch)

Eric Bélanger eric at archlinux.org
Thu Feb 26 04:03:03 UTC 2009


    Date: Wednesday, February 25, 2009 @ 23:03:02
  Author: eric
Revision: 27805

upgpkg: libots 0.5.0-1
    Upstream update, disabled SMP build, removed old patch

Modified:
  libots/trunk/PKGBUILD
Deleted:
  libots/trunk/gcc4.patch

------------+
 PKGBUILD   |   22 +++++++++++-----------
 gcc4.patch |   11 -----------
 2 files changed, 11 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-02-26 02:19:04 UTC (rev 27804)
+++ PKGBUILD	2009-02-26 04:03:02 UTC (rev 27805)
@@ -2,22 +2,22 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=libots
-pkgver=0.4.2
+pkgver=0.5.0
 pkgrel=1
 pkgdesc="Open Text Summarizer"
+arch=('i686' 'x86_64')
 url="http://libots.sourceforge.net/"
-license="GPL"
+license=('GPL')
 depends=('libxml2' 'glib2' 'popt')
-source=(http://dl.sourceforge.net/sourceforge/${pkgname}/ots-${pkgver}.tar.gz
-        gcc4.patch)
-md5sums=('bb02a56a3bf2d5ebf9ffd064992d0ae4' 'bbb6ab67f37fb6193ec9cf204b4d5d5a')
+options=('!libtool' '!makeflags')
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/ots-${pkgver}.tar.gz)
+md5sums=('1e140a4bf9d720b4339a5c2bdf4976e8')
 
 build() {
-  cd ${startdir}/src/ots-${pkgver}
-  patch -Np1 -i ${startdir}/src/gcc4.patch || return 1
-  ./configure --prefix=/usr
+  cd ${srcdir}/ots-${pkgver}
+  touch gtk-doc.make
+  sed -i 's/0.4.2/0.5.0/' configure || return 1
+  ./configure --prefix=/usr || return 1
   make || return 1
-  make DESTDIR=${startdir}/pkg install
-  #libtoolslay
-  find ${startdir}/pkg -name '*.la' -exec rm {} \;
+  make DESTDIR=${pkgdir} install || return 1
 }

Deleted: gcc4.patch
===================================================================
--- gcc4.patch	2009-02-26 02:19:04 UTC (rev 27804)
+++ gcc4.patch	2009-02-26 04:03:02 UTC (rev 27805)
@@ -1,11 +0,0 @@
---- ots-0.4.2/src/article.c.orig	2005-11-08 08:53:13.000000000 +0000
-+++ ots-0.4.2/src/article.c	2005-11-08 08:53:18.000000000 +0000
-@@ -35,7 +35,7 @@
- ots_new_sentence (void)
- {
-   OtsSentence *aLine = g_new0 (OtsSentence, 1);
--  (GList *) aLine->words = NULL;
-+  aLine->words = NULL;
-   aLine->wc = 0;
-   aLine->selected = 0;
-   aLine->score = 0;




More information about the arch-commits mailing list