[arch-commits] Commit in nextcloud-app-contacts/trunk (PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Wed Jul 7 17:04:11 UTC 2021
Date: Wednesday, July 7, 2021 @ 17:04:10
Author: spupykin
Revision: 975276
upgpkg: nextcloud-app-contacts 4.0.0-2
add/fix strict nextcloud version dep
Modified:
nextcloud-app-contacts/trunk/PKGBUILD
----------+
PKGBUILD | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-07 17:03:43 UTC (rev 975275)
+++ PKGBUILD 2021-07-07 17:04:10 UTC (rev 975276)
@@ -17,6 +17,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() {
@@ -33,7 +34,7 @@
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 -a "$srcdir"/contacts "$pkgdir"/usr/share/webapps/nextcloud/apps/contacts
}
More information about the arch-commits
mailing list