aboutsummaryrefslogtreecommitdiffstats
path: root/main/ciwiki/APKBUILD
blob: ffd4b610afad9a7488782ad5e0e87e86aa481f82 (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@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=ciwiki
pkgver=2.0.5
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="2b038ca354c1d53e84dd76c8f49b9a07  ciwiki-2.0.5.tar.gz"
sha256sums="144b18e4dc6e024fe39ba948311893387fdce90a9bd1bb7d2d81faa6f512d9d0  ciwiki-2.0.5.tar.gz"
sha512sums="ce4aefb8fa7cc0630b1d1841260452d50f762a8c8b3e8da1fb0c878cada9ccfc1824d1e20004db8bc8f9c77a0658879e3fa97c4914e73618b404937fb5ea1c29  ciwiki-2.0.5.tar.gz"