network/dokuwiki: Updated for version 2023-04-04a.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
4fe5f7be1c
commit
70f8dc34b8
|
@ -4,6 +4,7 @@
|
|||
#
|
||||
# Copyright 2016-2019 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy
|
||||
# Copyright 2019-2021 Jefferson Rocha <root@slackjeff.com.br>, Curitiba, Brazil
|
||||
# Copyright 2021-2023 slackjeff <slackjeff@riseup.net>
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
|
@ -25,18 +26,14 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=dokuwiki
|
||||
VERSION=${VERSION:-20200729}
|
||||
UNPACK=${UNPACK:-stable}
|
||||
SRCVERSION=${SRCVERSION:-2020-07-29}
|
||||
VERSION=${VERSION:-20230404a}
|
||||
SRCVERSION=${SRCVERSION:-2023-04-04a}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
ARCH=noarch
|
||||
|
||||
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
|
||||
# the name of the created package would be, and then exit. This information
|
||||
# could be useful to other scripts.
|
||||
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||
exit 0
|
||||
|
@ -48,15 +45,14 @@ OUTPUT=${OUTPUT:-/tmp}
|
|||
|
||||
set -e
|
||||
|
||||
mv ${PRGNAM}-${UNPACK}.tgz ${PRGNAM}-${SRCVERSION}.tgz
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$SRCVERSION
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvzf $CWD/$PRGNAM-$SRCVERSION.tgz
|
||||
|
||||
mkdir -p $PKG/var/www/htdocs/$PRGNAM
|
||||
mv $TMP/$PRGNAM-$SRCVERSION/* $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
|
||||
|
||||
|
@ -79,7 +75,8 @@ 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/
|
||||
mv -v $PKG/var/www/htdocs/${PRGNAM}/{COPYING,README,VERSION} $PKG/usr/doc/$PRGNAM-$VERSION/
|
||||
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION/
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="dokuwiki"
|
||||
VERSION="20200729"
|
||||
VERSION="20230404a"
|
||||
HOMEPAGE="https://www.dokuwiki.org/dokuwiki"
|
||||
DOWNLOAD="https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz"
|
||||
MD5SUM="8867b6a5d71ecb5203402fe5e8fa18c9"
|
||||
DOWNLOAD="https://download.dokuwiki.org/src/dokuwiki/dokuwiki-2023-04-04a.tgz"
|
||||
MD5SUM="8a68393e689bf6d1130bfe660a19fc6b"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Jefferson Rocha"
|
||||
EMAIL="root@slackjeff.com.br"
|
||||
MAINTAINER="slackjeff"
|
||||
EMAIL="slackjeff@riseup.net"
|
||||
|
|
Loading…
Reference in New Issue