summaryrefslogtreecommitdiff
path: root/community/namazu/PKGBUILD
blob: f8ebdc1789453d3fcac51e9f095fd6638e13bf52 (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
# Contributor: Benjamin Andresen <bandresen gmail com>

pkgname=namazu
pkgver=2.0.20
pkgrel=3
pkgdesc="Namazu is a full-text search engine intended for easy use."
url="http://namazu.org/"
license=('GPL')
arch=('i686' 'x86_64')
depends=(perl-file-mmagic)
source=(http://namazu.org/stable/$pkgname-$pkgver.tar.gz)
options=(!libtool)
md5sums=('ecac296bfe7d4df01a097a13e34023c6')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure \
  	--prefix=/usr \
	--sysconfdir=/etc \
	--localstatedir=/var/lib \
	--mandir=/usr/share/man \
	--libexecdir=/usr/lib/namazu \
	--libdir=/usr/lib/namazu
  make || return 1
  make DESTDIR=$pkgdir install
}