summaryrefslogtreecommitdiffstats
path: root/abs/core/alsa-utils
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-09-06 16:35:27 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-09-06 16:35:27 (GMT)
commit5669815ec3a539cf7b5ac7d8da2cbba3aeff44be (patch)
treef13051093a52f47f5954c2ee2a783bc2f0f62f96 /abs/core/alsa-utils
parent8d35f28049488f2585ef765bf48e7a58958fd587 (diff)
parent04697136037cb5341ee6c051f8aaa265c0400c82 (diff)
downloadlinhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.zip
linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.gz
linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.bz2
Merge branch 'testing'
Diffstat (limited to 'abs/core/alsa-utils')
-rwxr-xr-xabs/core/alsa-utils/90alsa13
-rw-r--r--abs/core/alsa-utils/PKGBUILD28
2 files changed, 9 insertions, 32 deletions
diff --git a/abs/core/alsa-utils/90alsa b/abs/core/alsa-utils/90alsa
deleted file mode 100755
index 9f18bef..0000000
--- a/abs/core/alsa-utils/90alsa
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-#
-# 90alsa: suspend/wakeup ALSA devices
-
-case "$1" in
-hibernate|suspend)
-;;
-thaw|resume)
-aplay -d 1 /dev/zero
-;;
-*) exit $NA
-;;
-esac
diff --git a/abs/core/alsa-utils/PKGBUILD b/abs/core/alsa-utils/PKGBUILD
index 1e450d0..d35b8b1 100644
--- a/abs/core/alsa-utils/PKGBUILD
+++ b/abs/core/alsa-utils/PKGBUILD
@@ -3,40 +3,30 @@
# Contributor: judd <jvinet@zeroflux.org>
pkgname=alsa-utils
-pkgver=1.1.2
+pkgver=1.1.6
pkgrel=1
pkgdesc="An alternative implementation of Linux sound support"
-arch=('i686' 'x86_64')
+arch=('x86_64')
url="http://www.alsa-project.org"
#can not use >=$pkgver due to use of letters in alsa-lib update versioning
depends=("alsa-lib>1.0.24" 'pciutils' 'ncurses' 'psmisc' 'libsamplerate' 'fftw')
-makedepends=('xmlto' 'docbook-xsl')
+makedepends=('xmlto' 'docbook-xsl' 'systemd')
license=('GPL')
-source=(ftp://ftp.alsa-project.org/pub/utils/$pkgname-${pkgver}.tar.bz2
- 90alsa)
+source=(ftp://ftp.alsa-project.org/pub/utils/$pkgname-${pkgver}.tar.bz2)
+sha256sums=('155caecc40b2220f686f34ba3655a53e3bdbc0586adb1056733949feaaf7d36e')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${pkgname}-${pkgver}
./configure --prefix=/usr --disable-alsaconf --sbindir=/usr/bin \
--with-udev-rules-dir=/usr/lib/udev/rules.d \
--with-systemdsystemunitdir=/usr/lib/systemd/system
make
- # fix udev rules genaration
- cd alsactl
- make 90-alsa-restore.rules
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
- install -D -m755 ../90alsa ${pkgdir}/etc/pm/sleep.d/90alsa
-
- # install alsa udev rule file
- install -D -m644 alsactl/90-alsa-restore.rules \
- ${pkgdir}/usr/lib/udev/rules.d/90-alsa-restore.rules
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
# dir where to save ALSA state
- install -d ${pkgdir}/var/lib/alsa
+ install -d "${pkgdir}/var/lib/alsa"
}
-md5sums=('38ac7c781f80c41c02b4664d8cbafa87'
- '529216f6a46e61a546640e08ea7a0879')