2.5.1, new arches, cleanup
authorbegin-theadventure <99835765+begin-theadventure@users.noreply.github.com>
Fri, 18 Aug 2023 14:11:09 +0000 (16:11 +0200)
committerbegin-theadventure <99835765+begin-theadventure@users.noreply.github.com>
Fri, 18 Aug 2023 14:11:09 +0000 (16:11 +0200)
.SRCINFO
PKGBUILD
index 661e72d67f8e015da61805e39242fc7aee36753b..7270a27c6f6ccad4e65968154596f92c5f25bb46 100644 (file)
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,31 @@
 pkgbase = listmonk-bin
-       pkgdesc = Self-hosted newsletter and mailing list manager with a modern dashboard
-       pkgver = 2.4.0
-       pkgrel = 2
+       pkgdesc = Self-hosted newsletter and mailing list manager with a modern dashboard (binary release)
+       pkgver = 2.5.1
+       pkgrel = 1
        url = https://github.com/knadh/listmonk
        install = listmonk.install
        arch = x86_64
+       arch = aarch64
+       arch = armv6h
+       arch = armv7h
        license = AGPL3
        depends = postgresql
        provides = listmonk
        conflicts = listmonk
        backup = etc/listmonk/config.toml
-       source = https://github.com/knadh/listmonk/releases/download/v2.4.0/listmonk_2.4.0_linux_amd64.tar.gz
-       source = listmonk-2.4.0.toml::https://raw.githubusercontent.com/knadh/listmonk/v2.4.0/config.toml.sample
+       source = listmonk-2.5.1.toml::https://raw.githubusercontent.com/knadh/listmonk/v2.5.1/config.toml.sample
        source = listmonk.conf
        source = listmonk.service
-       sha256sums = acdfd0f4549c15e3cd77a28778ac9904cc54abf3bec98074ee96edc64242971b
        sha256sums = 4941b1bd6d9ebc84b4ee1f9e3cf7aa651484a8bc857864ba40eda7bb67789c18
        sha256sums = 5cfc186438df2408ed88a5bec3a9a4b5f2afb0d3aec41c4cc63b2f5eb810b3cb
        sha256sums = 809ede70c932183889b2fa567b340fb82cce1ada76c7b0a0b9efb82b87c92fa0
+       source_x86_64 = https://github.com/knadh/listmonk/releases/download/v2.5.1/listmonk_2.5.1_linux_amd64.tar.gz
+       sha256sums_x86_64 = 552bb7cb47d7b55be7b48a4ccc19d69b96491065433dafd8cc6a0f39869e4113
+       source_aarch64 = https://github.com/knadh/listmonk/releases/download/v2.5.1/listmonk_2.5.1_linux_arm64.tar.gz
+       sha256sums_aarch64 = 832c5a34ed78446c179ed5423cdbce51d3e51333c1ea6cf11c74b63e0776193a
+       source_armv6h = https://github.com/knadh/listmonk/releases/download/v2.5.1/listmonk_2.5.1_linux_armv6.tar.gz
+       sha256sums_armv6h = 802a1755071e1a9c8b340984143effe9a88b49216f7711ffa00942535b2c3b76
+       source_armv7h = https://github.com/knadh/listmonk/releases/download/v2.5.1/listmonk_2.5.1_linux_armv7.tar.gz
+       sha256sums_armv7h = 7e7e96d64cd2af96711d8d3db717cfdb5c4b8c9ac3fb78b43a4704a8e5625c99
 
 pkgname = listmonk-bin
index c053925f7643f13809a547b0f24aa7017b76d9c7..1e901d4ba57701ba6fadbfdf48ea95b821065206 100644 (file)
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,31 +3,38 @@
 
 _pkgname=listmonk
 pkgname=$_pkgname-bin
-pkgver=2.4.0
-pkgrel=2
-pkgdesc='Self-hosted newsletter and mailing list manager with a modern dashboard'
-arch=(x86_64)
-url=https://github.com/knadh/listmonk
-license=(AGPL3)
-depends=(postgresql)
+pkgver=2.5.1
+pkgrel=1
+pkgdesc='Self-hosted newsletter and mailing list manager with a modern dashboard (binary release)'
+arch=('x86_64' 'aarch64' 'armv6h' 'armv7h')
+url="https://github.com/knadh/listmonk"
+license=('AGPL3')
+depends=('postgresql')
 provides=("$_pkgname")
 conflicts=("$_pkgname")
 backup=(etc/listmonk/config.toml)
 install=$_pkgname.install
-source=("https://github.com/knadh/$_pkgname/releases/download/v$pkgver/${_pkgname}_${pkgver}_linux_amd64.tar.gz"
-        "$_pkgname-$pkgver.toml::https://raw.githubusercontent.com/knadh/$_pkgname/v$pkgver/config.toml.sample"
+source=("$_pkgname-$pkgver.toml::https://raw.githubusercontent.com/knadh/$_pkgname/v$pkgver/config.toml.sample"
         "$_pkgname.conf"
         "$_pkgname.service")
-sha256sums=('acdfd0f4549c15e3cd77a28778ac9904cc54abf3bec98074ee96edc64242971b'
-            '4941b1bd6d9ebc84b4ee1f9e3cf7aa651484a8bc857864ba40eda7bb67789c18'
+
+sha256sums=('4941b1bd6d9ebc84b4ee1f9e3cf7aa651484a8bc857864ba40eda7bb67789c18'
             '5cfc186438df2408ed88a5bec3a9a4b5f2afb0d3aec41c4cc63b2f5eb810b3cb'
             '809ede70c932183889b2fa567b340fb82cce1ada76c7b0a0b9efb82b87c92fa0')
 
+source_x86_64=("$url/releases/download/v${pkgver}/listmonk_${pkgver}_linux_amd64.tar.gz")
+source_aarch64=("$url/releases/download/v${pkgver}/listmonk_${pkgver}_linux_arm64.tar.gz")
+source_armv6h=("$url/releases/download/v${pkgver}/listmonk_${pkgver}_linux_armv6.tar.gz")
+source_armv7h=("$url/releases/download/v${pkgver}/listmonk_${pkgver}_linux_armv7.tar.gz")
+
+sha256sums_x86_64=('552bb7cb47d7b55be7b48a4ccc19d69b96491065433dafd8cc6a0f39869e4113')
+sha256sums_aarch64=('832c5a34ed78446c179ed5423cdbce51d3e51333c1ea6cf11c74b63e0776193a')
+sha256sums_armv6h=('802a1755071e1a9c8b340984143effe9a88b49216f7711ffa00942535b2c3b76')
+sha256sums_armv7h=('7e7e96d64cd2af96711d8d3db717cfdb5c4b8c9ac3fb78b43a4704a8e5625c99')
+
 package() {
   install -Dm755 -t "$pkgdir/usr/bin" $_pkgname
   install -Dm644 $_pkgname-$pkgver.toml "$pkgdir/etc/$_pkgname/config.toml"
   install -Dm644 -t "$pkgdir/usr/lib/systemd/system/" "$_pkgname.service"
   install -Dm644 -t "$pkgdir/usr/lib/sysusers.d/" "$_pkgname.conf"
-  install -Dm644 README.md -t "$pkgdir/usr/share/doc/$_pkgname"
-  install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$_pkgname"
 }