[arch-commits] Commit in libots/repos/extra-x86_64 (3 files)

Antonio Rojas arojas at archlinux.org
Sun Feb 23 22:29:30 UTC 2020


    Date: Sunday, February 23, 2020 @ 22:29:30
  Author: arojas
Revision: 376114

archrelease: copy trunk to extra-x86_64

Added:
  libots/repos/extra-x86_64/PKGBUILD
    (from rev 376113, libots/trunk/PKGBUILD)
  libots/repos/extra-x86_64/libots-fix-build.patch
    (from rev 376113, libots/trunk/libots-fix-build.patch)
Deleted:
  libots/repos/extra-x86_64/PKGBUILD

------------------------+
 PKGBUILD               |   72 ++++++++++++++++++++++++-----------------------
 libots-fix-build.patch |   14 +++++++++
 2 files changed, 51 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-23 22:28:50 UTC (rev 376113)
+++ PKGBUILD	2020-02-23 22:29:30 UTC (rev 376114)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Jan de Groot <jgc at archlinux.org>
-
-pkgname=libots
-pkgver=0.5.0
-pkgrel=5
-pkgdesc='Open Text Summarizer'
-url='https://libots.sourceforge.net/'
-arch=('x86_64')
-license=('GPL')
-depends=('libxml2' 'glib2' 'popt')
-source=("https://sources.archlinux.org/other/packages/libots/ots-$pkgver.tar.gz")
-sha1sums=('4468bc06470734848c2369a37c84f76ca4ac3f9a')
-
-prepare() {
-  cd ots-${pkgver}
-  touch gtk-doc.make
-  sed 's/en.xml$//' -i dic/Makefile.am
-  libtoolize --force
-  aclocal
-  automake --add-missing --force
-  autoconf
-}
-
-build() {
-  cd ots-${pkgver}
-  ./configure --prefix=/usr
-  make -j1
-}
-
-package() {
-  cd ots-${pkgver}
-  make DESTDIR="${pkgdir}" install
-}

Copied: libots/repos/extra-x86_64/PKGBUILD (from rev 376113, libots/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-23 22:29:30 UTC (rev 376114)
@@ -0,0 +1,37 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libots
+pkgver=0.5.0
+pkgrel=6
+pkgdesc='Open Text Summarizer'
+url='https://libots.sourceforge.net/'
+arch=('x86_64')
+license=('GPL')
+depends=('libxml2' 'glib2' 'popt')
+source=("https://sources.archlinux.org/other/packages/libots/ots-$pkgver.tar.gz"
+        libots-fix-build.patch)
+sha256sums=('ea908d22256166d1200fef55a82dd3ea8e096a249eaaf0b926f3577f1a63e137'
+            '0c5033302ffe8d87dd2f85745ea2a531ac573a901302d1b15bf51a3327102f6a')
+
+prepare() {
+  cd ots-${pkgver}
+  touch gtk-doc.make
+  sed 's/en.xml$//' -i dic/Makefile.am
+  patch -p1 -i ../libots-fix-build.patch # Fix makefile dependencies (Debian)
+  libtoolize --force
+  aclocal
+  automake --add-missing --force
+  autoconf
+}
+
+build() {
+  cd ots-${pkgver}
+  ./configure --prefix=/usr
+  make -j1
+}
+
+package() {
+  cd ots-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: libots/repos/extra-x86_64/libots-fix-build.patch (from rev 376113, libots/trunk/libots-fix-build.patch)
===================================================================
--- libots-fix-build.patch	                        (rev 0)
+++ libots-fix-build.patch	2020-02-23 22:29:30 UTC (rev 376114)
@@ -0,0 +1,14 @@
+Description: Fix the Makefile dependencies
+Author: Adrian Bunk <bunk at debian.org>
+Bug-Debian: https://bugs.debian.org/906498
+
+--- ots-0.5.0.orig/src/Makefile.am
++++ ots-0.5.0/src/Makefile.am
+@@ -43,7 +43,7 @@ libots_1_include_HEADERS = 	\
+ 	libots.h
+ 
+ bin_PROGRAMS=ots
+-ldadd = $(top_builddir)/src/libots-1.la $(OTS_LIBS) $(POPT_LIBS)
++ldadd = libots-1.la $(OTS_LIBS) $(POPT_LIBS)
+ 
+ ots_LDADD=$(ldadd)



More information about the arch-commits mailing list