summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/alsa-utils/APKBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/testing/alsa-utils/APKBUILD b/testing/alsa-utils/APKBUILD
index d045fa350..ffa912174 100644
--- a/testing/alsa-utils/APKBUILD
+++ b/testing/alsa-utils/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alsa-utils
-pkgver=1.0.21
+pkgver=1.0.22
pkgrel=0
pkgdesc="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
url="http://www.alsa-project.org"
@@ -14,9 +14,13 @@ source="ftp://ftp.alsa-project.org/pub/utils/$pkgname-$pkgver.tar.bz2
alsa.confd
"
-build() {
+prepare() {
cd "$srcdir"/$pkgname-$pkgver
patch -Np1 -i ../alsaconf.patch || return 1
+}
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
--disable-xmlto \
|| return 1
@@ -29,7 +33,7 @@ package() {
install -D -m755 ../alsa.initd "$pkgdir"/etc/init.d/alsa
install -D -m644 ../alsa.confd "$pkgdir"/etc/conf.d/alsa
}
-md5sums="3672287c2608040d111ce45495ba7602 alsa-utils-1.0.21.tar.bz2
+md5sums="f7180316188552ee1e6759a03f1fe98d alsa-utils-1.0.22.tar.bz2
5e65f278b5a77e3ee2821ad955c4cd91 alsaconf.patch
4a66dad46d5366e05098cde97f3d37b5 alsa.initd
85b1f1e759fe5953eca329237f4ac256 alsa.confd"