makedeb


gotify-server-bin 2.1.4-1


A simple server for sending and receiving messages

Click here to go back to the commit logs for gotify-server-bin.

Commit:


Hash: 3555194cbdbbe5f27b2e5c6c5c38cd9ec0cb6902

Message: Bump to 2.0.6

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 9673da3..688cc66 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,21 @@
 pkgbase = gotify-server-bin
 	pkgdesc = A simple server for sending and receiving messages
-	pkgver = 2.0.5
-	pkgrel = 3
+	pkgver = 2.0.6
+	pkgrel = 1
 	url = https://github.com/gotify/server
 	arch = x86_64
 	license = MIT
 	depends = glibc
 	provides = gotify-server
 	conflicts = gotify-server
-	source = https://github.com/gotify/server/releases/download/v2.0.5/gotify-linux-amd64.zip
-	source = https://raw.githubusercontent.com/gotify/server/v2.0.5/config.example.yml
+	backup = etc/gotify/config.yml
+	source = https://github.com/gotify/server/releases/download/v2.0.6/gotify-linux-amd64.zip
+	source = https://raw.githubusercontent.com/gotify/server/v2.0.6/config.example.yml
 	source = gotify-arch-defaults.patch
 	source = gotify-server.tmpfiles
 	source = gotify-server.sysusers
 	source = gotify-server.service
-	sha256sums = 21e7ffcd607e86d0a6a1dd9f68494534ec0562bdb112840f38a2dd10eb127c38
+	sha256sums = 99353ffd719066c02dc2c647dbab94d4fae42e8fdb6f62855a5807a0d2d9b826
 	sha256sums = 2c469de4161ac354004d801b0d70395b710dc38739a57fa0c832314d0aab34ca
 	sha256sums = eface4b7901b849cf97fb62c691e37b0bf1dd80e947a3da193379bcf7e92c7b0
 	sha256sums = 14bd1a9270b089b99d9bbe8ebdd0c208c3f74c7347a792d508ffce75b0e1c641
diff --git a/PKGBUILD b/PKGBUILD
index 782c611..6559c7d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
 
 pkgname=gotify-server-bin
 _pkgname=gotify-server
-pkgver=2.0.5
-pkgrel=3
+pkgver=2.0.6
+pkgrel=1
 pkgdesc='A simple server for sending and receiving messages'
 arch=('x86_64')
 url='https://github.com/gotify/server'
@@ -11,13 +11,14 @@ depends=('glibc')
 license=('MIT')
 provides=('gotify-server')
 conflicts=('gotify-server')
+backup=('etc/gotify/config.yml')
 source=("$url/releases/download/v${pkgver}/gotify-linux-amd64.zip" 
         "https://raw.githubusercontent.com/gotify/server/v${pkgver}/config.example.yml"
         'gotify-arch-defaults.patch'
         'gotify-server.tmpfiles'
         'gotify-server.sysusers'
         'gotify-server.service')
-sha256sums=('21e7ffcd607e86d0a6a1dd9f68494534ec0562bdb112840f38a2dd10eb127c38'
+sha256sums=('99353ffd719066c02dc2c647dbab94d4fae42e8fdb6f62855a5807a0d2d9b826'
             '2c469de4161ac354004d801b0d70395b710dc38739a57fa0c832314d0aab34ca'
             'eface4b7901b849cf97fb62c691e37b0bf1dd80e947a3da193379bcf7e92c7b0'
             '14bd1a9270b089b99d9bbe8ebdd0c208c3f74c7347a792d508ffce75b0e1c641'
@@ -30,7 +31,7 @@ prepare() {
 
 package() {
   install -Dm755 gotify-linux-amd64 "${pkgdir}/usr/bin/${_pkgname}"
-  install -Dm644 config.example.yml "${pkgdir}/etc/gotify/config.example.yml"
+  install -Dm644 config.example.yml "${pkgdir}/etc/gotify/config.yml"
   install -Dm644 ${_pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/
   install -Dm644 ${_pkgname}.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/${_pkgname}.conf
   install -Dm644 ${_pkgname}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${_pkgname}.conf