26 lines
776 B
Plaintext
26 lines
776 B
Plaintext
# Description: Standards compliant, nice and powerful Wiki
|
|
# URL: https://dokuwiki.org
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
# Packager: Simon Glossner, viper at hometux dot de
|
|
# Depends on: mod_php
|
|
|
|
name=dokuwiki
|
|
version=2018-04-22b
|
|
release=1
|
|
source=(http://download.dokuwiki.org/src/dokuwiki/dokuwiki-$version.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}
|
|
rm -f $PKG/var/www/htdocs/dokuwiki/lib/{_fla,images/admin}/README
|
|
find $PKG -path '*lang/*' ! -wholename '*/en*' -type d | xargs rm -rf
|
|
}
|