diff options
author | Ben Brooks | 2021-03-11 20:36:19 +0000 |
---|---|---|
committer | Ben Brooks | 2021-03-11 20:36:19 +0000 |
commit | e9aa6a7af05d25ea135eae32ad97d65a56f7480d (patch) | |
tree | 5dbce9616c0b9e309a20c32ff237bbee1added1b | |
parent | 9f25683b94b74bab22d11841c71753c82dea85ca (diff) | |
download | aur-e9aa6a7af05d25ea135eae32ad97d65a56f7480d.tar.gz |
Add post_install usage message
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | sync_gateway.install | 31 |
3 files changed, 36 insertions, 2 deletions
@@ -1,8 +1,9 @@ pkgbase = sync_gateway-community-bin pkgdesc = Manages access and synchronization between Couchbase Lite and Couchbase Server - Community Edition (CE) pkgver = 2.8.2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/couchbase/sync_gateway + install = sync_gateway.install arch = x86_64 license = custom:Couchbase Community Edition License provides = sync_gateway @@ -3,13 +3,15 @@ pkgname=sync_gateway-community-bin pkgver=2.8.2 -pkgrel=1 +pkgrel=2 pkgdesc="Manages access and synchronization between Couchbase Lite and Couchbase Server - Community Edition (CE)" url="https://github.com/couchbase/sync_gateway" arch=('x86_64') license=('custom:Couchbase Community Edition License') provides=('sync_gateway') conflicts=('sync_gateway-git') +install="sync_gateway.install" + source=( "https://packages.couchbase.com/releases/couchbase-sync-gateway/${pkgver}/couchbase-sync-gateway-community_${pkgver}_x86_64.deb" 'sync_gateway.service' diff --git a/sync_gateway.install b/sync_gateway.install new file mode 100644 index 000000000000..9325d585b210 --- /dev/null +++ b/sync_gateway.install @@ -0,0 +1,31 @@ +post_install() { + echo '' + echo '' + echo '=============================' + echo '= Couchbase Sync Gateway CE =' + echo '=============================' + echo '' + echo 'This AUR package adheres to the Filesystem Hierarchy Standard, instead of the typical Couchbase Sync Gateway installation directories, so some things to note:' + echo '' + echo '===================' + echo '# Systemd Service #' + echo '===================' + echo '' + echo 'Start/enable using the sync_gateway systemd service' + echo '' + echo '==========' + echo '# Config #' + echo '==========' + echo '' + echo 'The configuration file is at /etc/sync_gateway.json' + echo '' + echo 'You must restart Sync Gateway for any configuration changes to take effect.' + echo '' + echo '========' + echo '# Logs #' + echo '========' + echo '' + echo 'Console logging can be found in journalctl, and per-level log files are written to `/var/log/sync_gateway` by default.' + echo '' + echo '' +} |