updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / hyperestraier / PKGBUILD
blob16e16e23b33e263c37584449d2da2d3795e74d3c
1 # Contributor: noonov <noonov@gmail.com>
3 pkgname=hyperestraier
4 pkgver=1.4.13
5 pkgrel=4
6 pkgdesc="A full-text search system"
7 arch=('i686' 'x86_64')
8 url="http://fallabs.com/hyperestraier/index.html"
9 license=('LGPL2.1')
10 depends=('qdbm')
11 source=(http://fallabs.com/hyperestraier/${pkgname}-${pkgver}.tar.gz)
13 build() {
14   cd ${srcdir}/${pkgname}-${pkgver}
16   case "${CARCH}" in
17   i686)
18     sed -i -e "s|@MYCFLAGS@|${CFLAGS}|g" Makefile.in
19     ;;
20   x86_64)
21     sed -i -e "s|@MYCFLAGS@|${CFLAGS} -fPIC|g" -e "s|-shared|-shared -fPIC|g" Makefile.in
22     ;;
23   esac
25   ./configure --prefix=/usr --mandir=/usr/share/man --libexecdir=/usr/lib/${pkgname}
26   make
29 package() {
30   cd ${srcdir}/${pkgname}-${pkgver}
32   make DESTDIR=${pkgdir} install
34   # rm -rf ${pkgdir}/usr/share/${pkgname}/doc
37 md5sums=('847aefb9e23266545280378d797f3981')