makedeb


libreddit-bin 0.22.9-1


An alternative private front-end to Reddit

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

Commit:


Hash: cd5006b99f3106c255abda9f0781e54dc8da72e1

Message: Update to Version 0.22.9 Signed-off-by: SZanko <szanko@protonmail.com>

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 3e786fe..7b45412 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = libreddit-bin
 	pkgdesc = An alternative private front-end to Reddit
-	pkgver = 0.22.8
-	pkgrel = 4
+	pkgver = 0.22.9
+	pkgrel = 1
 	url = https://github.com/spikecodes/libreddit
 	arch = x86_64
 	arch = amd64
@@ -11,11 +11,11 @@ pkgbase = libreddit-bin
 	conflicts = libreddit
 	options = !strip
 	options = !emptydirs
-	source = libreddit-0.22.8::https://github.com/spikecodes/libreddit/releases/download/v0.22.8/libreddit
-	source = https://raw.githubusercontent.com/spikecodes/libreddit/v0.22.8/contrib/libreddit.service
-	source = https://raw.githubusercontent.com/spikecodes/libreddit/v0.22.8/contrib/libreddit.conf
-	sha512sums = d9d81bc99397b818a2fed68a777869a20f8666feebd40877ccd2a7c5cb24b9599badf57181b7effd7d1376f927281179b79e1a7572f5da118497d76285ac99cb
+	source = libreddit-0.22.9::https://github.com/spikecodes/libreddit/releases/download/v0.22.9/libreddit
+	source = libreddit-0.22.9.service::https://raw.githubusercontent.com/spikecodes/libreddit/v0.22.9/contrib/libreddit.service
+	source = libreddit-0.22.9.conf::https://raw.githubusercontent.com/spikecodes/libreddit/v0.22.9/contrib/libreddit.conf
+	sha512sums = a863edb2a8e0ee0da06bc67efac4cec7da4eb2ed6c692a81c996b6d78ff9d45b243b5ad083530fbb93c5c2f72f8fc45ab3203f69d05ac9be09d605a6dc61526c
 	sha512sums = 330b3c24dc8fa19ccb649e5495b102ae2b63fa2a89e6c505a34bce5408460b4009491266bca0d64bf5b684b02f3744e37cc7dafdeecd95572c6c42840255d91f
-	sha512sums = 5dd9ad006cb628559d1b906d5e5874179a14d481be99bc4f5d3407a160a9729eb4fe87d9dae51f68cbc98c56ad13dcaebb350765c798b57aade794ba333ba5e7
+	sha512sums = 394bcb1f02dc42069cef5d4fb7db646dc4afd270f8952e78330f993d7455707cd4a0118bcbaed965ff22d0f6ea6bf65232a740743957d940b9a32f7fb9c61f0d
 
 pkgname = libreddit-bin
diff --git a/PKGBUILD b/PKGBUILD
index 5985116..78c68db 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
 
 _pkgname=libreddit
 pkgname=${_pkgname}-bin
-pkgver=0.22.8
-pkgrel=4
+pkgver=0.22.9
+pkgrel=1
 pkgdesc='An alternative private front-end to Reddit'
 arch=('x86_64' 'amd64')
 url="https://github.com/spikecodes/libreddit"
@@ -12,25 +12,24 @@ license=('AGPL')
 options=('!strip' '!emptydirs')
 source=(
   "${_pkgname}-${pkgver}::${url}/releases/download/v${pkgver}/${_pkgname}"
-  "https://raw.githubusercontent.com/spikecodes/${_pkgname}/v${pkgver}/contrib/${_pkgname}.service"
-  "https://raw.githubusercontent.com/spikecodes/${_pkgname}/v${pkgver}/contrib/${_pkgname}.conf")
+  "${_pkgname}-${pkgver}.service::https://raw.githubusercontent.com/spikecodes/${_pkgname}/v${pkgver}/contrib/${_pkgname}.service"
+  "${_pkgname}-${pkgver}.conf::https://raw.githubusercontent.com/spikecodes/${_pkgname}/v${pkgver}/contrib/${_pkgname}.conf")
 sha512sums=(
-  'd9d81bc99397b818a2fed68a777869a20f8666feebd40877ccd2a7c5cb24b9599badf57181b7effd7d1376f927281179b79e1a7572f5da118497d76285ac99cb'
+  'a863edb2a8e0ee0da06bc67efac4cec7da4eb2ed6c692a81c996b6d78ff9d45b243b5ad083530fbb93c5c2f72f8fc45ab3203f69d05ac9be09d605a6dc61526c'
   '330b3c24dc8fa19ccb649e5495b102ae2b63fa2a89e6c505a34bce5408460b4009491266bca0d64bf5b684b02f3744e37cc7dafdeecd95572c6c42840255d91f'
-  '5dd9ad006cb628559d1b906d5e5874179a14d481be99bc4f5d3407a160a9729eb4fe87d9dae51f68cbc98c56ad13dcaebb350765c798b57aade794ba333ba5e7'
+  '394bcb1f02dc42069cef5d4fb7db646dc4afd270f8952e78330f993d7455707cd4a0118bcbaed965ff22d0f6ea6bf65232a740743957d940b9a32f7fb9c61f0d'
 )
 provides=("${_pkgname}")
 conflicts=("${_pkgname}")
 
 package() {
-  sed -i '1s/localhost/0.0.0.0/g' ${_pkgname}.conf
-  sed -i '2s/12345/8080/g' ${_pkgname}.conf
-  sed -i '19s/P/#P/g' ${_pkgname}.service
-  sed -i '21s/P/#P/g' ${_pkgname}.service
-  sed -i '22s/P/#P/g' ${_pkgname}.service
-  sed -i '26s/P/#P/g' ${_pkgname}.service
-  sed -i '27s/Protec/#Protec/g' ${_pkgname}.service
-  install -Dm644 "${_pkgname}.conf" "$pkgdir/etc/${_pkgname}.conf"
-  install -Dm644 "${_pkgname}.service" "$pkgdir/lib/systemd/system/${_pkgname}.service"
+  sed -i '2s/12345/8080/g' ${_pkgname}-${pkgver}.conf
+  sed -i '19s/P/#P/g' ${_pkgname}-${pkgver}.service
+  sed -i '21s/P/#P/g' ${_pkgname}-${pkgver}.service
+  sed -i '22s/P/#P/g' ${_pkgname}-${pkgver}.service
+  sed -i '26s/P/#P/g' ${_pkgname}-${pkgver}.service
+  sed -i '27s/Protec/#Protec/g' ${_pkgname}-${pkgver}.service
+  install -Dm644 "${_pkgname}-${pkgver}.conf" "$pkgdir/etc/${_pkgname}.conf"
+  install -Dm644 "${_pkgname}-${pkgver}.service" "$pkgdir/lib/systemd/system/${_pkgname}.service"
   install -Dm755 "${_pkgname}-${pkgver}" "$pkgdir/usr/bin/${_pkgname}"
 }