2006-10-22 15:19:50 +02:00
|
|
|
# Description: Standards compliant, nice and powerful Wiki
|
2019-02-07 00:28:48 +01:00
|
|
|
# URL: https://dokuwiki.org
|
2009-09-19 01:20:45 +02:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2009-12-07 13:01:04 +01:00
|
|
|
# Packager: Simon Glossner, viper at hometux dot de
|
2009-09-21 19:10:21 +02:00
|
|
|
# Depends on: mod_php
|
2006-10-22 15:19:50 +02:00
|
|
|
|
|
|
|
name=dokuwiki
|
2020-06-08 19:52:15 +00:00
|
|
|
version=2018-04-22c
|
2016-02-11 01:14:35 +01:00
|
|
|
release=1
|
2014-04-29 14:39:35 +02:00
|
|
|
source=(http://download.dokuwiki.org/src/dokuwiki/dokuwiki-$version.tgz)
|
2006-10-22 15:19:50 +02:00
|
|
|
|
|
|
|
build() {
|
2016-02-11 01:14:35 +01:00
|
|
|
cd $name-$version
|
2020-06-08 19:52:15 +00:00
|
|
|
|
2006-10-22 15:19:50 +02:00
|
|
|
touch data/changes.log
|
2014-05-07 18:12:10 +02:00
|
|
|
|
2006-10-22 15:19:50 +02:00
|
|
|
mkdir -p $PKG/var/www/htdocs/dokuwiki/
|
2006-12-31 00:45:48 +01:00
|
|
|
cp -r ./ $PKG/var/www/htdocs/dokuwiki/
|
2020-06-08 19:52:15 +00:00
|
|
|
|
2007-06-29 01:06:50 +02:00
|
|
|
chown -R www.www $PKG/var/www/htdocs/dokuwiki/data
|
2020-06-08 19:52:15 +00:00
|
|
|
|
2006-10-22 15:19:50 +02:00
|
|
|
rm -f $PKG/var/www/htdocs/dokuwiki/{COPYING,README,VERSION}
|
2011-02-18 21:55:30 +01:00
|
|
|
rm -f $PKG/var/www/htdocs/dokuwiki/lib/{_fla,images/admin}/README
|
2020-06-08 19:52:15 +00:00
|
|
|
find $PKG -path '*lang/*' ! -wholename '*/en*' -type d | xargs rm -rf
|
2020-07-10 11:03:29 +00:00
|
|
|
find $PKG \(\
|
|
|
|
-iname '*readme*' -o \
|
|
|
|
-iname '*authors*' -o \
|
|
|
|
-iname '*thanks*' \) -exec rm -fr '{}' \+
|
2006-10-22 15:19:50 +02:00
|
|
|
}
|