[arch-commits] Commit in nextcloud-app-notes/trunk (PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Wed Jul 7 17:06:04 UTC 2021


    Date: Wednesday, July 7, 2021 @ 17:06:03
  Author: spupykin
Revision: 975282

upgpkg: nextcloud-app-notes 4.1.0-3
add/fix strict nextcloud version dep

Modified:
  nextcloud-app-notes/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-07 17:04:48 UTC (rev 975281)
+++ PKGBUILD	2021-07-07 17:06:03 UTC (rev 975282)
@@ -5,7 +5,7 @@
 pkgname=nextcloud-app-notes
 _name=notes
 pkgver=4.1.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Simple Notes app for Nextcloud"
 arch=('any')
 url="https://github.com/nextcloud/notes"
@@ -19,6 +19,7 @@
 _get_nextcloud_versions() {
   _app_min_major_version="$(xq '.info.dependencies.nextcloud["@min-version"]' "${_name}/appinfo/info.xml"| sed 's/"//g')"
   _app_max_major_version="$(xq '.info.dependencies.nextcloud["@max-version"]' "${_name}/appinfo/info.xml"| sed 's/"//g')"
+  _app_max_major_version=$(expr ${_app_max_major_version} + 1)
 }
 
 check() {
@@ -35,7 +36,8 @@
 
 package() {
   _get_nextcloud_versions
-  depends=("nextcloud>=${_app_min_major_version}" "nextcloud<=${_app_max_major_version}")
+  depends=("nextcloud>=${_app_min_major_version}" "nextcloud<${_app_max_major_version}")
+
   install -d "${pkgdir}/usr/share/webapps/nextcloud/apps"
   cp -R "${srcdir}/notes" "${pkgdir}/usr/share/webapps/nextcloud/apps/notes"
 }




More information about the arch-commits mailing list