aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ciwiki/APKBUILD
blob: f6a94fc6c1af0895ddb13566265d3724342a4e4a (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Contributor: ScrumpyJack <scrumpyjack@me.com>
# Maintainer:
pkgname=ciwiki
pkgver=2.0.3
pkgrel=0
pkgdesc="A personal lightweight wiki written in C"
url="http://ciwiki.sourceforge.net/"
arch="all"
license="GPL3"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tar.gz"

_builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
        ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--libexecdir=/usr/lib/ciwiki \
		|| return 1
        make

}

package() {
	cd "$_builddir"
	make install DESTDIR="$pkgdir"

}

md5sums="5c4e5e14e99566bd6ea430747ff8f6dd  ciwiki-2.0.3.tar.gz"
sha256sums="ffd23f8b9a3769c2aaf191b24092fb65c0b3fe9ea5831a1a53e7822678ce2569  ciwiki-2.0.3.tar.gz"
sha512sums="eaccbe366ec3215993471d371f2c4d885139dbb6afae2767cf1cd4580555054524591b0e77a4281d00f52dafa0ee93d532ac49ed6b486885f813340debab45f2  ciwiki-2.0.3.tar.gz"