Package Details: lms 3.62.1-1

Git Clone URL: https://aur.archlinux.org/lms.git (read-only, click to copy)
Package Base: lms
Description: Lightweight Music Server. Access your self-hosted music using a web interface
Upstream URL: https://github.com/epoupon/lms
Keywords: audio audio-streaming music music-player music-server music-streaming raspberry-pi raspberry-pi-3 self-hosted subsonic-server
Licenses: GPL3
Submitter: ragouel
Maintainer: disasm
Last Packager: disasm
Votes: 4
Popularity: 0.000000
First Submitted: 2020-06-21 07:54 (UTC)
Last Updated: 2024-12-21 01:40 (UTC)

Latest Comments

danielkr commented on 2024-09-18 07:38 (UTC)

Is it possible to add aarch64 to the supported architectures? I run it on my raspberry4 which is not x64. Thanks!

disasm commented on 2023-04-09 07:32 (UTC)

Patch for the latest version:

diff --git a/PKGBUILD b/PKGBUILD
index 3fbf6b9..4ae7d4b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>

 pkgname=lms
-pkgver=3.29.1
+pkgver=3.37.0
 pkgrel=1
 pkgdesc='Lightweight Music Server. Access your self-hosted music using a web interface'
 arch=('x86_64')
@@ -18,7 +18,7 @@ makedepends=('cmake'
              'gtest'
              'graphicsmagick')
 source=("${pkgname}-${pkgver}.tar.xz::https://github.com/epoupon/lms/archive/v${pkgver}.tar.gz")
-sha256sums=('de3530e5ef7320e4355df095002721c5f83abe4abc8cc3b8b9f4f60579160099')
+sha256sums=('0b56063943c5abcc85f50247a6fbdf86af336f912139d50b688f9cb523d3488f')

 build() {
   mkdir "${pkgname}-${pkgver}/build"
diff --git a/lms.install b/lms.install
index 45b47ab..359de8d 100644
--- a/lms.install
+++ b/lms.install
@@ -2,17 +2,17 @@

 post_install() {
   echo "Creating dedicated system user 'lms'"
-  sudo useradd -M -U lms
+  useradd -M -U lms
   echo "Creating directory /var/lms"
   install -d /var/lms
   echo "Changing directory ownership to 'lms'"
-  sudo chown lms:lms /var/lms
+  chown lms:lms /var/lms
 }

 post_remove() {
   echo "Removing dedicated system user 'lms'"
-  sudo systemctl stop lms.service >> /dev/null
-  sudo userdel lms
+  systemctl stop lms.service >> /dev/null
+  userdel lms
   echo "Removing directory /var/lms"
-  sudo rm -rf /var/lms
+  rm -rf /var/lms
 }
\ No newline at end of file

DrTebi commented on 2022-05-28 22:25 (UTC) (edited on 2022-05-28 22:26 (UTC) by DrTebi)

I have flagged this out of date... this version did not build due to an error... I reported the error and it has now been fixed in v3.29.1. Would be great if the AUR package could be updated, too.

DrTebi commented on 2022-05-27 13:53 (UTC)

The upstream URL is not working.

I suggest changing it to: https://github.com/epoupon/lms

toaru_yousei commented on 2021-03-22 12:33 (UTC)

How about creating system user and directory for lms with sysusers and tmpfiles mechanism instead of creating it manually within .install? https://wiki.archlinux.org/index.php/Web_application_package_guidelines#Separate_user

Something like that:

lms.sysusers → /usr/lib/sysusers.d/lms.conf

u lms - "LMS Daemon" - -

lms.tmpfiles → /usr/lib/tmpfiles.d/lms.conf

d /var/lms 0755 lms lms - -