diff options
author | begin-theadventure | 2024-04-25 21:52:49 +0200 |
---|---|---|
committer | begin-theadventure | 2024-04-25 21:52:49 +0200 |
commit | abb79a2e594a548c9e6e05ddcc3c295dcf44974c (patch) | |
tree | 9452adccfbd9ad5ef5f816054b4e722096d166a8 | |
parent | 43a1e129c8f5a25e4a5a60a4595aa846007afa97 (diff) | |
download | aur-abb79a2e594a548c9e6e05ddcc3c295dcf44974c.tar.gz |
3.0.0; fixes } contributed by nasci
Update sources & checksums to 3.0.0
Added listmonk-git to conflicts
Disabled binary strip (removes necessary static files)
Disabled debug package (not required - use listmonk-git instead)
Edited post-install instruction to correct database permissions
Removed WorkingDirectory in service file - directory not created
-rw-r--r-- | .SRCINFO | 27 | ||||
-rw-r--r-- | PKGBUILD | 18 | ||||
-rw-r--r-- | listmonk.install | 3 | ||||
-rw-r--r-- | listmonk.service | 1 |
4 files changed, 26 insertions, 23 deletions
@@ -1,7 +1,7 @@ pkgbase = listmonk-bin pkgdesc = Self-hosted newsletter and mailing list manager with a modern dashboard (binary release) - pkgver = 2.5.1 - pkgrel = 2 + pkgver = 3.0.0 + pkgrel = 1 url = https://github.com/knadh/listmonk install = listmonk.install arch = x86_64 @@ -12,20 +12,23 @@ pkgbase = listmonk-bin depends = postgresql provides = listmonk conflicts = listmonk + conflicts = listmonk-git + options = !strip + options = !debug backup = etc/listmonk/config.toml - source = listmonk-2.5.1.toml::https://raw.githubusercontent.com/knadh/listmonk/v2.5.1/config.toml.sample + source = listmonk-3.0.0.toml::https://raw.githubusercontent.com/knadh/listmonk/v3.0.0/config.toml.sample source = listmonk.conf source = listmonk.service 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 + sha256sums = 4852f206b7763ba047ba123d663cadb806f437967154ebe837845198b3266533 + source_x86_64 = https://github.com/knadh/listmonk/releases/download/v3.0.0/listmonk_3.0.0_linux_amd64.tar.gz + sha256sums_x86_64 = 29c4965146231d40fb9bd2eecb469534a669262c025538788a56d5d365392cf4 + source_aarch64 = https://github.com/knadh/listmonk/releases/download/v3.0.0/listmonk_3.0.0_linux_arm64.tar.gz + sha256sums_aarch64 = c60a03a1ae74ad96e67eacb205d9b8c3f7dcebff164daa0a1da93e99c361b214 + source_armv6h = https://github.com/knadh/listmonk/releases/download/v3.0.0/listmonk_3.0.0_linux_armv6.tar.gz + sha256sums_armv6h = d70eab28b24d19b22c12d32fafdba56112f39950019aff9d33526e7f44ab7d69 + source_armv7h = https://github.com/knadh/listmonk/releases/download/v3.0.0/listmonk_3.0.0_linux_armv7.tar.gz + sha256sums_armv7h = 8f405404901f1283b2ebddf1118f884c72883e981b3b70c2266c1cc523e48794 pkgname = listmonk-bin @@ -1,17 +1,19 @@ # Maintainer: begin-theadventure <begin-thecontact.ncncb at dralias dot com> # Contributor: Caleb Maclennan <caleb@alerque.com> +# Contributor: Andrew Lorimer <andrew@lorimer.id.au> _pkgname=listmonk pkgname=$_pkgname-bin -pkgver=2.5.1 -pkgrel=2 +pkgver=3.0.0 +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") +conflicts=("$_pkgname" "$_pkgname"-git) +options=(!strip !debug) backup=(etc/listmonk/config.toml) install=$_pkgname.install source=("$_pkgname-$pkgver.toml::https://raw.githubusercontent.com/knadh/$_pkgname/v$pkgver/config.toml.sample" @@ -19,17 +21,17 @@ source=("$_pkgname-$pkgver.toml::https://raw.githubusercontent.com/knadh/$_pkgna "$_pkgname.service") sha256sums=('4941b1bd6d9ebc84b4ee1f9e3cf7aa651484a8bc857864ba40eda7bb67789c18' '5cfc186438df2408ed88a5bec3a9a4b5f2afb0d3aec41c4cc63b2f5eb810b3cb' - '809ede70c932183889b2fa567b340fb82cce1ada76c7b0a0b9efb82b87c92fa0') + '4852f206b7763ba047ba123d663cadb806f437967154ebe837845198b3266533') 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') +sha256sums_x86_64=('29c4965146231d40fb9bd2eecb469534a669262c025538788a56d5d365392cf4') +sha256sums_aarch64=('c60a03a1ae74ad96e67eacb205d9b8c3f7dcebff164daa0a1da93e99c361b214') +sha256sums_armv6h=('d70eab28b24d19b22c12d32fafdba56112f39950019aff9d33526e7f44ab7d69') +sha256sums_armv7h=('8f405404901f1283b2ebddf1118f884c72883e981b3b70c2266c1cc523e48794') package() { install -Dm644 $_pkgname-$pkgver.toml "$pkgdir/etc/$_pkgname/config.toml" diff --git a/listmonk.install b/listmonk.install index be3a05e2b306..1caf8c69eef8 100644 --- a/listmonk.install +++ b/listmonk.install @@ -8,8 +8,7 @@ post_install() { \$ sudo -u postgres psql postgres=# CREATE USER listmonk WITH PASSWORD '<your_password>'; - postgres=# CREATE DATABASE listmonk; - postgres=# GRANT ALL PRIVILEGES ON DATABASE listmonk TO listmonk; + postgres=# CREATE DATABASE listmonk WITH OWNER listmonk; postgres=# \\q Then edit /etc/listmonk/config.toml with your new database credentials. diff --git a/listmonk.service b/listmonk.service index ccc8fd41ebdf..6532baa15cdd 100644 --- a/listmonk.service +++ b/listmonk.service @@ -4,7 +4,6 @@ Wants=network.target [Service] Type=simple -WorkingDirectory=/usr/share/listmonk ExecStart=/usr/bin/listmonk --config /etc/listmonk/config.toml User=listmonk Group=listmonk |