blob: 67749ca246254afe05305b908721e31bdd7fa294 (
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.4
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="0fac7e9cff09428a802958ee7a41d18e ciwiki-2.0.4.tar.gz"
sha256sums="f82ee203e7701b82fb79c4f99cea8b95f07a4ed5a07fdc98b62669d79f4fb312 ciwiki-2.0.4.tar.gz"
sha512sums="3d59fdd90075cce84214b3c5134bd88b06fdbe99629326818eea9b84cbfe0c94c5407c75eac5b9018fe748349fada3e8b70c6918b2191fae0aa05474e03a4e5e ciwiki-2.0.4.tar.gz"
|