David Runge pushed to branch main at Arch Linux / Packaging / Packages / 
alsa-utils


Commits:
8a5b8774 by Max Gautier at 2024-08-26T10:33:41+02:00
Don't include /var/lib/alsa in the package

Since the systemd archlinux package include an alpm-hook which will run
systemd-tmpfiles --create after package installation, this is redundant.
See https://gitlab.archlinux.org/archlinux/rfcs/-/issues/3 for
motivation.

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -29,8 +29,6 @@ optdepends=(
   'bash: for alsa-info.sh and alsabat-test.sh'
   'fftw: for alsabat'
 )
-# we require /var/lib/alsa for state file
-options=(emptydirs)
 source=(
   $url/files/pub/utils/$pkgname-$pkgver.tar.bz2{,.sig}
   $pkgname.tmpfiles
@@ -78,7 +76,5 @@ package() {
   make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
   install -vDm 644 $pkgname-$pkgver/README.md -t 
"$pkgdir/usr/share/doc/$pkgname/"
 
-  # dir for ALSA state
-  install -vdm 755 "$pkgdir/var/lib/alsa/"
   install -vDm 644 $pkgname.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/alsa-utils/-/commit/8a5b87740a0f5587edca620f6cf6c5d7a44893f1

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/alsa-utils/-/commit/8a5b87740a0f5587edca620f6cf6c5d7a44893f1
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to