summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 584911edfd09ff334e974ede3c45c62612c71d15 (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
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=swish-e
pkgver=2.4.7
pkgrel=1
pkgdesc="Fast, flexible and free open source system for indexing collections of Web pages or other files"
arch=('i686' 'x86_64')
url="http://www.swish-e.org/"
license=('custom')
depends=('libxml2')
source=(http://www.swish-e.org/distribution/$pkgname-$pkgver.tar.gz)
md5sums=('736db7a65aed48bb3e2587c52833642d')

build() {
  cd "${srcdir}"/$pkgname-$pkgver

  ./configure --with-zlib --prefix=/usr --mandir=/usr/share/man --libexecdir=/usr/lib
  make
}

package() {
  cd "${srcdir}"/$pkgname-$pkgver

  make DESTDIR="${pkgdir}" install
#license
  install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/$pkgname/COPYING
}