blob: 4087f82c7535e0333d83941ee046efa8d0e870f3 (
plain)
1 # Description: Really cool WikiWiki clone written in PHP
2 # URL: http://www.pmwiki.org/
3 # Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de
4 # Depends on: mod_php
5
6 name=pmwiki
7 version=2.1.26
8 release=2
9 source=(http://www.pmwiki.org/pub/$name/$name-$version.tgz \
10 $name-$version.patch)
11
12 build () {
13 (cd $name-$version; patch -p1 -i $SRC/$name-$version.patch)
14 install -d $PKG/var/www/$name
15 install -d -o nobody -m 700 $PKG/var/www/$name/{wiki.d,uploads}
16 cp -R $name-$version/* $PKG/var/www/$name
17 mv $PKG/var/www/$name/{docs/sample-config.php,local/config.php.sample}
18 rm -r $PKG/var/www/$name/docs
19 find $PKG -name 'README*' -delete
20 }
|