diff options
author | Jefferson Rocha <root@slackjeff.com.br> | 2020-09-05 08:15:13 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-09-05 08:15:13 +0700 |
commit | 4a9f0698771e65a386e31b769fbf16fac8adcc06 (patch) | |
tree | 4106195146c6607c76c7dd570d21ecbd935913e3 /network/dokuwiki/dokuwiki.SlackBuild | |
parent | e693868bdf0c43835e1a7e4f89ee4b9d8d100c3f (diff) |
network/dokuwiki: Updated for version 20200729.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/dokuwiki/dokuwiki.SlackBuild')
-rw-r--r-- | network/dokuwiki/dokuwiki.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/network/dokuwiki/dokuwiki.SlackBuild b/network/dokuwiki/dokuwiki.SlackBuild index 7e6fb13f28190..2ea35762820e2 100644 --- a/network/dokuwiki/dokuwiki.SlackBuild +++ b/network/dokuwiki/dokuwiki.SlackBuild @@ -23,9 +23,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=dokuwiki -VERSION=${VERSION:-20180422c} +VERSION=${VERSION:-20200729} UNPACK=${UNPACK:-stable} -SRCVERSION=${SRCVERSION:-2018-04-22c} +SRCVERSION=${SRCVERSION:-2020-07-29} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -45,9 +45,9 @@ cd $TMP rm -rf $PRGNAM-$SRCVERSION tar xvzf $CWD/$PRGNAM-$SRCVERSION.tgz -mkdir -p $PKG/var/www/$PRGNAM -mv $TMP/$PRGNAM-$SRCVERSION/* $PKG/var/www/$PRGNAM/ -chown -R apache:apache $PKG/var/www/$PRGNAM/ +mkdir -p $PKG/var/www/htdocs/$PRGNAM +mv $TMP/$PRGNAM-$SRCVERSION/* $PKG/var/www/htdocs/$PRGNAM/ +chown -R apache:apache $PKG/var/www/htdocs/$PRGNAM/ mkdir -p $PKG/etc/httpd/extra cat > $PKG/etc/httpd/extra/httpd-dokuwiki.conf <<'EOF' @@ -67,6 +67,8 @@ Alias /dokuwiki /var/www/htdocs/dokuwiki EOF mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +# Move all docs +mv $PKG/var/www/htdocs/${PRGNAM}/{COPYING,README,VERSION} $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |