[arch-commits] Commit in nextcloud-app-news/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Thu May 27 17:28:56 UTC 2021


    Date: Thursday, May 27, 2021 @ 17:28:55
  Author: dvzrv
Revision: 949080

archrelease: copy trunk to community-any

Added:
  nextcloud-app-news/repos/community-any/PKGBUILD
    (from rev 949079, nextcloud-app-news/trunk/PKGBUILD)
Deleted:
  nextcloud-app-news/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   62 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-27 17:28:39 UTC (rev 949079)
+++ PKGBUILD	2021-05-27 17:28:55 UTC (rev 949080)
@@ -1,31 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Jonas Heinrich <onny at project-insanity.org>
-
-pkgname=nextcloud-app-news
-_name=news
-pkgver=15.4.3
-pkgrel=1
-pkgdesc="An RSS/Atom feed aggregator"
-arch=('any')
-url="https://github.com/nextcloud/news"
-license=('AGPL3')
-depends=('nextcloud>21' 'nextcloud<22')
-makedepends=('ripgrep' 'yq')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/nextcloud/${_name}/releases/download/${pkgver}/${_name}.tar.gz")
-sha512sums=('40545903f23012417db981c0400fe9909cbbd3f7e595e891da85992e2eb97898f847369789827f88d49cddf3917d8285513556f5021339a699c423f50aa9f13b')
-b2sums=('fd1b662f2393d40644a53997764b803563c081ef2fe2c8fb37d0762073141cf700f888b1d169b5b959b7ff1f992c3a1914fa812c0c522818f37276a5fd8cc1dc')
-
-check() {
-  local _app_min_major_version="$(xq '.info.dependencies.nextcloud["@min-version"]' "${_name}/appinfo/info.xml"| sed 's/"//g')"
-  local _app_max_major_version="$(xq '.info.dependencies.nextcloud["@max-version"]' "${_name}/appinfo/info.xml"| sed 's/"//g')"
-  local _nextcloud_major_version="$(rg "OC_Version = " /usr/share/webapps/nextcloud/version.php |cut -d'(' -f2| cut -d ',' -f1)"
-  if [[ "$(vercmp "${_nextcloud_major_version}" "${_app_min_major_version}")" -lt 0 ]] || [[ "$(vercmp "${_nextcloud_major_version}" "${_app_max_major_version}")" -gt 0 ]] ; then
-    printf "%s requires nextcloud >= %s/ nextcloud <= %s, but nextcloud %s is provided.\n" "$pkgname" "${_app_min_major_version}" "${_app_max_major_version}" "${_nextcloud_major_version}"
-    exit 1
-  fi
-}
-
-package() {
-  install -vdm 755 "${pkgdir}/usr/share/webapps/nextcloud/apps"
-  cp -av "${_name}" "${pkgdir}/usr/share/webapps/nextcloud/apps/"
-}

Copied: nextcloud-app-news/repos/community-any/PKGBUILD (from rev 949079, nextcloud-app-news/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-27 17:28:55 UTC (rev 949080)
@@ -0,0 +1,31 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Jonas Heinrich <onny at project-insanity.org>
+
+pkgname=nextcloud-app-news
+_name=news
+pkgver=15.4.5
+pkgrel=1
+pkgdesc="An RSS/Atom feed aggregator"
+arch=('any')
+url="https://github.com/nextcloud/news"
+license=('AGPL3')
+depends=('nextcloud>21' 'nextcloud<22')
+makedepends=('ripgrep' 'yq')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/nextcloud/${_name}/releases/download/${pkgver}/${_name}.tar.gz")
+sha512sums=('6dcc844ab8df9e5fc277d1a978fd71d4d7d6c97271559a0ade22b4cf77e97ad1f96dc547c404ebc25bca9f43e34dafe01ac65f564aacc6fecba55a1a6656d24f')
+b2sums=('d8c39e427c13487e5ca602a56d7a867dc9bf86473152ee871ee8c193f79d407cb02b5da7ee0fefee81a3383a9d7ef35fe2b5f63c2c72079c0d087fe34edba833')
+
+check() {
+  local _app_min_major_version="$(xq '.info.dependencies.nextcloud["@min-version"]' "${_name}/appinfo/info.xml"| sed 's/"//g')"
+  local _app_max_major_version="$(xq '.info.dependencies.nextcloud["@max-version"]' "${_name}/appinfo/info.xml"| sed 's/"//g')"
+  local _nextcloud_major_version="$(rg "OC_Version = " /usr/share/webapps/nextcloud/version.php |cut -d'(' -f2| cut -d ',' -f1)"
+  if [[ "$(vercmp "${_nextcloud_major_version}" "${_app_min_major_version}")" -lt 0 ]] || [[ "$(vercmp "${_nextcloud_major_version}" "${_app_max_major_version}")" -gt 0 ]] ; then
+    printf "%s requires nextcloud >= %s/ nextcloud <= %s, but nextcloud %s is provided.\n" "$pkgname" "${_app_min_major_version}" "${_app_max_major_version}" "${_nextcloud_major_version}"
+    exit 1
+  fi
+}
+
+package() {
+  install -vdm 755 "${pkgdir}/usr/share/webapps/nextcloud/apps"
+  cp -av "${_name}" "${pkgdir}/usr/share/webapps/nextcloud/apps/"
+}



More information about the arch-commits mailing list