[arch-commits] Commit in dokuwiki/trunk (PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Sun Jul 19 11:55:07 UTC 2020


    Date: Sunday, July 19, 2020 @ 11:55:07
  Author: spupykin
Revision: 664562

upgpkg: dokuwiki 20200609rc-1

Modified:
  dokuwiki/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-19 11:32:10 UTC (rev 664561)
+++ PKGBUILD	2020-07-19 11:55:07 UTC (rev 664562)
@@ -2,9 +2,11 @@
 # Contributor: Sébastien Luttringer
 
 pkgname=dokuwiki
-pkgver=20180422_c
+pkgver=20200609rc
 _pkgver=${pkgver:0:4}-${pkgver:4:2}-${pkgver:6}
 _pkgver=${_pkgver/_/}
+_pkgver=${_pkgver/rc/}
+[[ $pkgver == *"rc" ]] && _release=candidate || _release=stable
 pkgrel=1
 pkgdesc='Simple to use and highly versatile Open Source wiki software'
 arch=('any')
@@ -14,15 +16,15 @@
 backup=('etc/webapps/dokuwiki/.htaccess'
         'etc/httpd/conf/extra/dokuwiki.conf')
 options=('!strip')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/splitbrain/dokuwiki/archive/release_stable_${_pkgver}.tar.gz"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/splitbrain/dokuwiki/archive/release_${_release}_${_pkgver}.tar.gz"
         'apache.example.conf')
-sha256sums=('92eea8b6be85afa1fb6852079d1395c5d405233a49bfac32ecb7e1d6fd9cb559'
+sha256sums=('4f6c75b7d4e1e5a652cc8d21d8800986b167cba89db20fb0b37c790eb8ff46fe'
             '6d6f19b545ca98573761f522fa837a4d2d3de932d21e593ac882ef57b13f0bb1')
 
 package() {
   cd "$pkgdir"
   install -dm0755 usr/share/webapps var/lib/dokuwiki etc/webapps
-  cp -a "$srcdir"/$pkgname-release_stable_${_pkgver} usr/share/webapps/dokuwiki
+  cp -a "$srcdir"/$pkgname-release_${_release}_${_pkgver} usr/share/webapps/dokuwiki
 
   # move data in var
   mv usr/share/webapps/dokuwiki/data var/lib/dokuwiki



More information about the arch-commits mailing list