25 lines
739 B
Plaintext
25 lines
739 B
Plaintext
# Description: Standards compliant, nice and powerful Wiki
|
|
# URL: http://wiki.splitbrain.org/wiki:dokuwiki
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
# Packager: Simon Glossner, viper at hometux dot de
|
|
# Depends on: mod_php
|
|
|
|
name=dokuwiki
|
|
version=2009-02-14
|
|
release=1
|
|
source=(http://www.splitbrain.org/_media/projects/dokuwiki/${name}-${version}b.tgz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
touch data/changes.log
|
|
|
|
mkdir -p $PKG/var/www/htdocs/dokuwiki/
|
|
cp -r ./ $PKG/var/www/htdocs/dokuwiki/
|
|
|
|
chown -R www.www $PKG/var/www/htdocs/dokuwiki/data
|
|
|
|
rm -f $PKG/var/www/htdocs/dokuwiki/{COPYING,README,VERSION}
|
|
find $PKG -path '*lang/*' ! -wholename '*/en*' -type d | xargs rm -rf
|
|
}
|