# Contributor: Sodface # Maintainer: Sodface pkgname=lms pkgver=9 pkgrel=0 pkgdesc="Lyrion Music Server" pkggroups="lms" pkgusers="lms" url="https://lyrion.org/" arch="noarch" license="GPL-2.0" options="!check !fhs" depends="perl perl-io-socket-ssl lms-nocpan lms-modules lms-utils" install="$pkgname.pre-install $pkgname.post-deinstall" subpackages="$pkgname-openrc" source="Custom.pm.tar.gz $pkgname.confd $pkgname.initd" build() { return 0 } package() { install -Dm 644 "$srcdir"/lms.confd \ "$pkgdir"/etc/conf.d/lms install -Dm 755 "$srcdir"/lms.initd \ "$pkgdir"/etc/init.d/lms install -m 755 -o lms -g lms -d "$pkgdir"/var/opt/lms install -m 755 -o lms -g lms -d "$pkgdir"/var/opt/lms/log install -m 755 -o lms -g lms -d "$pkgdir"/var/opt/lms/Plugins install -m 755 -o lms -g lms -d "$pkgdir"/var/opt/lms/ClientPlaylists install -m 755 -o lms -g lms -d "$pkgdir"/var/opt/lms/cache install -m 755 -o lms -g lms -d "$pkgdir"/etc/opt/lms install -m 755 -o lms -g lms -d "$pkgdir"/etc/opt/lms/prefs install -Dm 644 "$srcdir"/Custom.pm \ "$pkgdir"/opt/lms/Slim/Utils/OS/Custom.pm } sha512sums=" a1e5fbc49354a37e138e2a78f1c2e7a10c700579b5fb665a00131814d289772bf2e07da4447088882b8447b3fb2346bb26a76dcc199b86bc89a117523a987844 Custom.pm.tar.gz 21228fe8a6b9954cf3aa6cc605ccf18ba822f78b24805e4950f7d6643c886b66e15be8a3c94f9e95cb41b6e46d03313f6e2388e0d94011782d9741e31018c426 lms.confd 1bb66547ee853748cb12fff7a6a8b353090aa1a192c77edc1ee06ff2d2fe0ea09788397a9929ecde3187c8548eabf73cb2e7fee2a1e9ba9cc0b4648f18bd44b7 lms.initd "