summaryrefslogtreecommitdiff
path: root/extra/libots
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-03-05 04:00:14 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-03-05 04:00:14 +0000
commit4f7963b7ddc283ae57ceb68e7f4d51b3994e0070 (patch)
tree6ebcd67cfca9e9554f131b1ae746d9819f599294 /extra/libots
parenta78b434ff9cfdfb3d175c900ff622a561b84123f (diff)
Wed Mar 5 03:57:00 UTC 2014
Diffstat (limited to 'extra/libots')
-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
}