summaryrefslogtreecommitdiff
path: root/extra/libots/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libots/PKGBUILD')
-rw-r--r--extra/libots/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/extra/libots/PKGBUILD b/extra/libots/PKGBUILD
index 74267b655..ad9af6689 100644
--- a/extra/libots/PKGBUILD
+++ b/extra/libots/PKGBUILD
@@ -1,29 +1,33 @@
-# $Id: PKGBUILD 198218 2013-10-30 13:31:42Z allan $
-# Contributor: Jan de Groot <jgc@archlinux.org>
+# $Id: PKGBUILD 206642 2014-03-03 23:27:24Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=libots
pkgver=0.5.0
-pkgrel=3
+pkgrel=4
pkgdesc='Open Text Summarizer'
url='http://libots.sourceforge.net/'
arch=('i686' 'x86_64')
license=('GPL')
-depends=('libxml2' 'glib2')
-options=('!makeflags')
+depends=('libxml2' 'glib2' 'popt')
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/ots-${pkgver}.tar.gz")
sha1sums=('4468bc06470734848c2369a37c84f76ca4ac3f9a')
+options=('!makeflags')
-build() {
+prepare() {
cd "${srcdir}/ots-${pkgver}"
touch gtk-doc.make
- sed -i -e 's/en.xml$//' dic/Makefile.am
+ sed 's/en.xml$//' -i dic/Makefile.am
libtoolize --force
aclocal
automake --add-missing --force
autoconf
- ./configure --prefix=/usr --disable-static
+}
+
+build() {
+ cd "${srcdir}/ots-${pkgver}"
+ ./configure --prefix=/usr
make
}