[arch-commits] Commit in nextcloud/trunk (PKGBUILD nextcloud.hook)
Pierre Schmitz
pierre at archlinux.org
Sat Jan 23 10:09:52 UTC 2021
Date: Saturday, January 23, 2021 @ 10:09:52
Author: pierre
Revision: 825937
Update dependency to php7 as PHP 8 is not supported yet
Modified:
nextcloud/trunk/PKGBUILD
nextcloud/trunk/nextcloud.hook
----------------+
PKGBUILD | 22 +++++++++++-----------
nextcloud.hook | 2 +-
2 files changed, 12 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-23 10:00:15 UTC (rev 825936)
+++ PKGBUILD 2021-01-23 10:09:52 UTC (rev 825937)
@@ -2,18 +2,18 @@
pkgname=nextcloud
pkgver=20.0.5
-pkgrel=1
+pkgrel=2
pkgdesc="A cloud server to store your files centrally on a hardware controlled by you"
arch=('any')
url="https://nextcloud.com"
license=('AGPL')
depends=()
-optdepends=('php-apache: to use the Apache web server'
- 'php-sqlite: to use the SQLite database backend'
- 'php-pgsql: to use the PostgreSQL database backend'
- 'php-ldap: LDAP authentication'
- 'php-intl'
- 'php-apcu'
+optdepends=('php7-apache: to use the Apache web server'
+ 'php7-sqlite: to use the SQLite database backend'
+ 'php7-pgsql: to use the PostgreSQL database backend'
+ 'php7-ldap: LDAP authentication'
+ 'php7-intl'
+ 'php7-apcu'
'mariadb: to use the MySQL database backend'
'smbclient: to mount SAMBA shares'
'ffmpeg: file preview'
@@ -28,10 +28,10 @@
sha256sums=('5c70dd33024012a1651fd099133d052d129a4dadc6935f44bb9c3e2b360befe3'
'SKIP'
'30a8ad62b0dc9523ca7f0387b1f0483d196c1e011ec7e3a5b98e7d33c721d4bf'
- 'd084cd6423c03f98087884b3c7b81f9510d1bea6c518860b64787a7f976cf0d3')
+ 'b8794c6b357c762f6d4e6f099d8073bd465d6cd87d6d07341568d9509720e6e8')
package() {
- depends=('php>=7.4.0' 'php<7.5.0' 'php-gd')
+ depends=('php7>=7.4.0' 'php7<7.5.0' 'php7-gd')
# install project
install -d "$pkgdir"/usr/share/webapps/
@@ -44,9 +44,9 @@
# move config to /etc
install -d "$pkgdir"/etc/webapps/${pkgname}
mv "$pkgdir"/usr/share/webapps/${pkgname}/config "$pkgdir"/etc/webapps/${pkgname}/config
- chown -R http:http "$pkgdir"/etc/webapps/${pkgname}
+ chown -R 33:33 "$pkgdir"/etc/webapps/${pkgname}
ln -s /etc/webapps/${pkgname}/config "$pkgdir"/usr/share/webapps/${pkgname}/config
- chown -R root:http "$pkgdir"/usr/share/webapps/${pkgname}
+ chown -R root:33 "$pkgdir"/usr/share/webapps/${pkgname}
find "$pkgdir"/usr/share/webapps/${pkgname} -type f -exec chmod 0644 {} \;
find "$pkgdir"/usr/share/webapps/${pkgname} -type d -exec chmod 0755 {} \;
Modified: nextcloud.hook
===================================================================
--- nextcloud.hook 2021-01-23 10:00:15 UTC (rev 825936)
+++ nextcloud.hook 2021-01-23 10:09:52 UTC (rev 825937)
@@ -10,4 +10,4 @@
[Action]
Description = Updating Nextcloud installation
When = PostTransaction
-Exec = /usr/bin/runuser -u http -- /usr/bin/php /usr/share/webapps/nextcloud/occ upgrade
+Exec = /usr/bin/runuser -u http -- /usr/bin/php7 /usr/share/webapps/nextcloud/occ upgrade
More information about the arch-commits
mailing list