summaryrefslogtreecommitdiff
path: root/extra/libots/PKGBUILD
blob: 3807e919df5351e7729ce31b30277f3310c3067d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 149081 2012-02-05 16:59:38Z bisson $
# Contributor: Jan de Groot <jgc@archlinux.org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=libots
pkgver=0.5.0
pkgrel=3
pkgdesc='Open Text Summarizer'
url='http://libots.sourceforge.net/'
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libxml2' 'glib2')
options=('!libtool' '!makeflags')
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/ots-${pkgver}.tar.gz")
sha1sums=('4468bc06470734848c2369a37c84f76ca4ac3f9a')


build() {
	cd "${srcdir}/ots-${pkgver}"
	touch gtk-doc.make
	sed -i -e 's/en.xml$//' dic/Makefile.am
	libtoolize --force
	aclocal
	automake --add-missing --force
	autoconf
	./configure --prefix=/usr --disable-static
	make
}

package() {
	cd "${srcdir}/ots-${pkgver}"
	make DESTDIR="${pkgdir}" install
}