[arch-commits] Commit in nextcloud-app-notify_push/repos/community-x86_64 (6 files)
Caleb Maclennan
alerque at gemini.archlinux.org
Fri Apr 29 18:13:58 UTC 2022
Date: Friday, April 29, 2022 @ 18:13:58
Author: alerque
Revision: 1191827
archrelease: copy trunk to community-x86_64
Added:
nextcloud-app-notify_push/repos/community-x86_64/PKGBUILD
(from rev 1191826, nextcloud-app-notify_push/trunk/PKGBUILD)
nextcloud-app-notify_push/repos/community-x86_64/nextcloud-app-notify_push.install
(from rev 1191826, nextcloud-app-notify_push/trunk/nextcloud-app-notify_push.install)
nextcloud-app-notify_push/repos/community-x86_64/nextcloud-app-notify_push.service
(from rev 1191826, nextcloud-app-notify_push/trunk/nextcloud-app-notify_push.service)
Deleted:
nextcloud-app-notify_push/repos/community-x86_64/PKGBUILD
nextcloud-app-notify_push/repos/community-x86_64/nextcloud-app-notify_push.install
nextcloud-app-notify_push/repos/community-x86_64/nextcloud-app-notify_push.service
-----------------------------------+
PKGBUILD | 111 ++++++++++++++++++------------------
nextcloud-app-notify_push.install | 24 +++----
nextcloud-app-notify_push.service | 20 +++---
3 files changed, 78 insertions(+), 77 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-29 18:13:39 UTC (rev 1191826)
+++ PKGBUILD 2022-04-29 18:13:58 UTC (rev 1191827)
@@ -1,55 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Carlos Galindo < arch -at - cgj.es >
-
-pkgname=nextcloud-app-notify_push
-pkgver=0.4.0
-pkgrel=1
-pkgdesc='Update notifications for nextcloud clients'
-arch=(x86_64)
-url="https://github.com/nextcloud/${pkgname##*-}"
-license=(AGPL3)
-depends=('nextcloud<25')
-makedepends=(cargo
- rsync)
-optdepends=('redis: use a local redis instance')
-options=(debug !lto)
-install="$pkgname.install"
-_archive="${pkgname##*-}-$pkgver"
-source=("$url/archive/v$pkgver/$_archive.tar.gz"
- "$pkgname.service")
-sha256sums=('c53ccb6df9fd7319d9ec3a3c21b5a602666b88bd6e05e769dd9fc290eefa2df0'
- '82d985fc60a140e8f2a42e3f914c627d0d4c010d930e1580a10e1980e32172c1')
-
-prepare() {
- cd "$_archive"
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
- sed -i -e "s/@ARCH@/$CARCH/" "../$pkgname.service"
-}
-
-build() {
- cd "$_archive"
- cargo build --frozen --release --all-features
-}
-
-check() {
- cd "$_archive"
- cargo test --frozen --all-features
-}
-
-package() {
- cd "$_archive"
- _appdir="$pkgdir/usr/share/webapps/nextcloud/apps/${pkgname##*-}"
- rsync -a --mkpath \
- --include='appinfo/***' \
- --include='js/***' \
- --include='lib/***' \
- --include='templates/***' \
- --include='vendor/***' \
- --include=.php_cs.dist \
- --include=webpack.common.js \
- --include=webpack.prod.js \
- --exclude='*' \
- ./ $_appdir/
- install -Dm0755 -t "$_appdir/bin/$CARCH/" "target/release/${pkgname##*-}"
- install -Dm0644 -t "$pkgdir/usr/lib/systemd/system/" "$srcdir/$pkgname.service"
-}
Copied: nextcloud-app-notify_push/repos/community-x86_64/PKGBUILD (from rev 1191826, nextcloud-app-notify_push/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-29 18:13:58 UTC (rev 1191827)
@@ -0,0 +1,56 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Carlos Galindo < arch -at - cgj.es >
+
+pkgname=nextcloud-app-notify_push
+pkgver=0.4.0
+pkgrel=2
+pkgdesc='Update notifications for nextcloud clients'
+arch=(x86_64)
+url="https://github.com/nextcloud/${pkgname##*-}"
+license=(AGPL3)
+depends=('nextcloud<25')
+makedepends=(cargo
+ rsync)
+optdepends=('redis: use a local redis instance')
+options=(debug)
+install="$pkgname.install"
+_archive="${pkgname##*-}-$pkgver"
+source=("$url/archive/v$pkgver/$_archive.tar.gz"
+ "$pkgname.service")
+sha256sums=('c53ccb6df9fd7319d9ec3a3c21b5a602666b88bd6e05e769dd9fc290eefa2df0'
+ 'b22b470f9e02d2bbe0c266431948daaadd7e7f007c27a989bdfcb063ee58fac6')
+
+prepare() {
+ cd "$_archive"
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+ sed -i -e "s/@ARCH@/$CARCH/" "../$pkgname.service"
+}
+
+build() {
+ cd "$_archive"
+ export CFLAGS+=" -ffat-lto-objects"
+ cargo build --frozen --release --all-features
+}
+
+check() {
+ cd "$_archive"
+ cargo test --frozen --all-features
+}
+
+package() {
+ cd "$_archive"
+ _appdir="$pkgdir/usr/share/webapps/nextcloud/apps/${pkgname##*-}"
+ rsync -a --mkpath \
+ --include='appinfo/***' \
+ --include='js/***' \
+ --include='lib/***' \
+ --include='templates/***' \
+ --include='vendor/***' \
+ --include=.php_cs.dist \
+ --include=webpack.common.js \
+ --include=webpack.prod.js \
+ --exclude='*' \
+ ./ $_appdir/
+ install -Dm0755 -t "$_appdir/bin/$CARCH/" "target/release/${pkgname##*-}"
+ install -Dm0644 -t "$pkgdir/usr/lib/systemd/system/" "$srcdir/$pkgname.service"
+}
Deleted: nextcloud-app-notify_push.install
===================================================================
--- nextcloud-app-notify_push.install 2022-04-29 18:13:39 UTC (rev 1191826)
+++ nextcloud-app-notify_push.install 2022-04-29 18:13:58 UTC (rev 1191827)
@@ -1,12 +0,0 @@
-post_install() {
- echo 'Remember to finish the setup for notify_push:'
- echo ''
- echo 'Enable and start the nextcloud-app-notify_push.service'
- echo 'Setup your reverse proxy (see /usr/share/webapps/nextcloud/apps/notify_push/README.md)'
- echo 'Run the setup with `occ notify_push:setup https://your.nextcloud.com/push`.'
-}
-
-post_upgrade() {
- echo 'You may want to restart nextcloud-app-notify_push.service'
- echo 'and re-check your setup with `occ notify_push:self-test`'
-}
Copied: nextcloud-app-notify_push/repos/community-x86_64/nextcloud-app-notify_push.install (from rev 1191826, nextcloud-app-notify_push/trunk/nextcloud-app-notify_push.install)
===================================================================
--- nextcloud-app-notify_push.install (rev 0)
+++ nextcloud-app-notify_push.install 2022-04-29 18:13:58 UTC (rev 1191827)
@@ -0,0 +1,12 @@
+post_install() {
+ echo 'Remember to finish the setup for notify_push:'
+ echo ''
+ echo 'Enable and start the nextcloud-app-notify_push.service'
+ echo 'Setup your reverse proxy (see /usr/share/webapps/nextcloud/apps/notify_push/README.md)'
+ echo 'Run the setup with `occ notify_push:setup https://your.nextcloud.com/push`.'
+}
+
+post_upgrade() {
+ echo 'You may want to restart nextcloud-app-notify_push.service'
+ echo 'and re-check your setup with `occ notify_push:self-test`'
+}
Deleted: nextcloud-app-notify_push.service
===================================================================
--- nextcloud-app-notify_push.service 2022-04-29 18:13:39 UTC (rev 1191826)
+++ nextcloud-app-notify_push.service 2022-04-29 18:13:58 UTC (rev 1191827)
@@ -1,10 +0,0 @@
-[Unit]
-Description = Push daemon for Nextcloud clients
-
-[Service]
-Environment = PORT=7867 BIND=127.0.0.1
-ExecStart = /usr/share/webapps/nextcloud/apps/notify_push/bin/@ARCH@/notify_push /etc/webapps/nextcloud/config/config.php
-User = nextcloud
-
-[Install]
-WantedBy = multi-user.target
Copied: nextcloud-app-notify_push/repos/community-x86_64/nextcloud-app-notify_push.service (from rev 1191826, nextcloud-app-notify_push/trunk/nextcloud-app-notify_push.service)
===================================================================
--- nextcloud-app-notify_push.service (rev 0)
+++ nextcloud-app-notify_push.service 2022-04-29 18:13:58 UTC (rev 1191827)
@@ -0,0 +1,10 @@
+[Unit]
+Description = Push daemon for Nextcloud clients
+
+[Service]
+Environment = PORT=7867 BIND=127.0.0.1
+ExecStart = /usr/share/webapps/nextcloud/apps/notify_push/bin/@ARCH@/notify_push /etc/webapps/nextcloud/config/config.php
+User = nextcloud
+
+[Install]
+WantedBy = multi-user.target
More information about the arch-commits
mailing list