summaryrefslogtreecommitdiff
path: root/community/namazu/PKGBUILD
blob: 0678839d78a5b5f646ccbdfa65501a3b7188a36b (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
# $Id: PKGBUILD 100255 2013-11-02 08:43:48Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Benjamin Andresen <bandresen gmail com>

pkgname=namazu
pkgver=2.0.21
pkgrel=2
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)
md5sums=('8865d912a3de9c94f5ce01d0de5ccad9')

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
}

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