summaryrefslogtreecommitdiffstats
path: root/main/swish-e/APKBUILD
blob: 510b13d8e30f7484da17a2dfe79d5cc3ce9395b7 (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
32
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=swish-e
pkgver=2.4.7
pkgrel=1
pkgdesc="Simple Web Indexing System for Humans - Enhanced"
url="http://www.swish-e.org/"
arch="x86 x86_64"
license="GPL"
depends=""
makedepends="perl-dev"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.swish-e.org/distribution/$pkgname-$pkgver.tar.gz"

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

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

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

}

md5sums="736db7a65aed48bb3e2587c52833642d  swish-e-2.4.7.tar.gz"