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

Jan de Groot jgc at archlinux.org
Thu Aug 19 19:25:05 UTC 2010


    Date: Thursday, August 19, 2010 @ 15:25:04
  Author: jgc
Revision: 88136

upgpkg: libots 0.5.0-2
Fix dynamic library creation. Disable static library. Fix build with some sed magic, lots of auto* and --force

Modified:
  libots/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-19 18:16:07 UTC (rev 88135)
+++ PKGBUILD	2010-08-19 19:25:04 UTC (rev 88136)
@@ -3,21 +3,26 @@
 
 pkgname=libots
 pkgver=0.5.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Open Text Summarizer"
 arch=('i686' 'x86_64')
 url="http://libots.sourceforge.net/"
 license=('GPL')
-depends=('libxml2' 'glib2' 'popt')
+depends=('libxml2' 'glib2')
 options=('!libtool' '!makeflags')
 source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/ots-${pkgver}.tar.gz)
 md5sums=('1e140a4bf9d720b4339a5c2bdf4976e8')
 
+
 build() {
-  cd ${srcdir}/ots-${pkgver}
+  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=${pkgdir} install || return 1
+  sed -i -e 's/en.xml$//' dic/Makefile.am
+  libtoolize --force
+  aclocal
+  automake --add-missing --force
+  autoconf
+  ./configure --prefix=/usr --disable-static
+  make
+  make DESTDIR="${pkgdir}" install
 }




More information about the arch-commits mailing list