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

Antonio Rojas arojas at archlinux.org
Wed Jun 6 21:48:58 UTC 2018


    Date: Wednesday, June 6, 2018 @ 21:48:57
  Author: arojas
Revision: 326091

BUILDINFO rebuild

Modified:
  libots/trunk/PKGBUILD

----------+
 PKGBUILD |   31 ++++++++++++++-----------------
 1 file changed, 14 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-06 21:41:57 UTC (rev 326090)
+++ PKGBUILD	2018-06-06 21:48:57 UTC (rev 326091)
@@ -4,35 +4,32 @@
 
 pkgname=libots
 pkgver=0.5.0
-pkgrel=4
+pkgrel=5
 pkgdesc='Open Text Summarizer'
 url='https://libots.sourceforge.net/'
 arch=('x86_64')
 license=('GPL')
 depends=('libxml2' 'glib2' 'popt')
-# disappeared from sourceforge as of 2017-03-01, unclear what new upstream should be
-source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/ots-${pkgver}.tar.gz")
+source=("https://sources.archlinux.org/other/packages/libots/ots-$pkgver.tar.gz")
 sha1sums=('4468bc06470734848c2369a37c84f76ca4ac3f9a')
 
-options=('!makeflags')
-
 prepare() {
-	cd "${srcdir}/ots-${pkgver}"
-	touch gtk-doc.make
-	sed 's/en.xml$//' -i dic/Makefile.am
-	libtoolize --force
-	aclocal
-	automake --add-missing --force
-	autoconf
+  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 "${srcdir}/ots-${pkgver}"
-	./configure --prefix=/usr
-	make
+  cd ots-${pkgver}
+  ./configure --prefix=/usr
+  make -j1
 }
 
 package() {
-	cd "${srcdir}/ots-${pkgver}"
-	make DESTDIR="${pkgdir}" install
+  cd ots-${pkgver}
+  make DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list