summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-28 21:02:43 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-28 21:02:43 +0000
commit280958f5eafe6114bf9c6ecf44fca5d910049869 (patch)
treed099a587908f839b7595b37d088437a4f7108e75 /user
parent6405e20e9f924e6d82ffb1a7b9054fe781bf1f81 (diff)
downloadpackages-280958f5eafe6114bf9c6ecf44fca5d910049869.tar.gz
packages-280958f5eafe6114bf9c6ecf44fca5d910049869.tar.bz2
packages-280958f5eafe6114bf9c6ecf44fca5d910049869.tar.xz
packages-280958f5eafe6114bf9c6ecf44fca5d910049869.zip
Re-[[sroracle]] user/alsa-utils
This reverts commit bc360abe6aae2e330b95d4a213d03760e6c90db8.
Diffstat (limited to 'user')
-rw-r--r--user/alsa-utils/APKBUILD37
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