diff options
-rw-r--r-- | user/alsa-utils/APKBUILD | 37 |
1 files changed, 16 insertions, 21 deletions
diff --git a/user/alsa-utils/APKBUILD b/user/alsa-utils/APKBUILD index d4afb47ea..7ecea8193 100644 --- a/user/alsa-utils/APKBUILD +++ b/user/alsa-utils/APKBUILD @@ -1,25 +1,26 @@ # Contributor: Leonardo Arena <rnalrd@alpinelinux.org> -# Contributor: Natanael Copa <ncopa@alpinelinux.org> -# Maintainer: Dan Theisen <djt@hxx.in> +# Maintainer: Max Rees <maxcrees@me.com> pkgname=alsa-utils pkgver=1.1.6 pkgrel=0 pkgdesc="Advanced Linux Sound Architecture (ALSA) utilities" -url="http://www.alsa-project.org" +url="https://www.alsa-project.org/main/index.php/Main_Page" arch="all" -options="!check" # No test suite, applets use ncurses / don't have --version -license="GPL-2.0+" +options="!check" # No test suite. +license="GPL-2.0+ AND LGPL-2.0+ AND ISC AND GPL-2.0-only" makedepends="alsa-lib-dev fftw-dev ncurses-dev pciutils-dev" -depends="dialog" -subpackages="$pkgname-doc alsaconf::noarch $pkgname-dbg $pkgname-openrc" +depends="bash dialog" +subpackages="$pkgname-doc $pkgname-dbg $pkgname-lang $pkgname-openrc" +replaces="alsaconf" source="ftp://ftp.alsa-project.org/pub/utils/$pkgname-$pkgver.tar.bz2 alsaconf.patch alsa.initd - alsa.confd" + alsa.confd +" prepare() { - update_config_sub default_prepare + update_config_sub } build() { @@ -28,24 +29,18 @@ build() { --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ - --disable-xmlto \ - --disable-nls + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --disable-xmlto make } package() { cd "$builddir" make DESTDIR="$pkgdir" install - install -D -m755 ../alsa.initd "$pkgdir"/etc/init.d/alsa - install -D -m644 ../alsa.confd "$pkgdir"/etc/conf.d/alsa -} - -alsaconf() { - depends="alsa-utils bash" - cd "$builddir" - mkdir -p "$subpkgdir"/usr/sbin - mv "$pkgdir"/usr/sbin/alsaconf \ - "$subpkgdir"/usr/sbin + install -Dm755 ../alsa.initd "$pkgdir"/etc/init.d/alsa + install -Dm644 ../alsa.confd "$pkgdir"/etc/conf.d/alsa } sha512sums="24d0ffaeeccecb3276d7d35ef51e6de6026a63fa5a1a1e4605b024f54d8097717e97ec9d33cfe50830ad17e4a89268ca24b065039b0df7f9fbe02b570617aa58 alsa-utils-1.1.6.tar.bz2 |