updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / mnogosearch / PKGBUILD
blob27658b656e5006507f42301cca6fbc6956919c77
1 # Contributor: Martin Devera <devik@cdi.cz>
2 pkgname=mnogosearch
3 pkgver=3.2.38
4 pkgrel=2
5 pkgdesc="Search Engine Software"
6 url="http://www.mnogosearch.org/"
7 license="GPL"
8 depends=('mysql')
9 makedepends=()
10 conflicts=()
11 replaces=()
12 backup=('etc/mnogosearch/indexer.conf' 'etc/mnogosearch/langmap.conf' 'etc/mnogosearch/search.htm' 'etc/mnogosearch/stopwords.conf')
13 install=
14 source=(http://www.mnogosearch.org/Download/$pkgname-$pkgver.tar.gz)
15 md5sums=('2aa9a123857a3a6ee77daac762979310')
17 build() {
18   cd $startdir/src/$pkgname-$pkgver
19   ./configure --prefix=/usr --sysconfdir=/etc/mnogosearch \
20         --datadir=/usr/share/mnogosearch --localstatedir=/var --with-mysql
21   make || return 1
22   make DESTDIR=$startdir/pkg install
23   rm -f $startdir/pkg/usr/lib/*.la
24   for f in ${backup[@]};do 
25           cp -vf $startdir/pkg/$f-dist $startdir/pkg/$f
26   done