summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c9311db6c3a81d082538be970a6439e545f6bcc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
# Contributor: David Runge <dvzrv@archlinux.org>
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>

_android_arch=x86-64

pkgname=android-${_android_arch}-alsa-ucm-conf
pkgver=1.2.12
pkgrel=1
arch=('any')
pkgdesc="ALSA Use Case Manager configuration (and topologies) (Android ${_android_arch})"
url="https://alsa-project.org/"
license=('BSD-3-Clause')
depends=('android-ndk')
makedepends=('android-environment')
options=(!strip !buildflags staticlibs !emptydirs)
source=("$url/files/pub/lib/alsa-ucm-conf-$pkgver.tar.bz2"{,.sig})
md5sums=('198920145805d3009ac22d6b4e379501'
         'SKIP')
validpgpkeys=('F04DF50737AC1A884C4B3D718380596DA6E59C91') # ALSA Release Team (Package Signing Key v1) <release@alsa-project.org>

build() {
    cd "${srcdir}/alsa-ucm-conf-$pkgver"
}

package() {
    cd "${srcdir}/alsa-ucm-conf-$pkgver"
    source android-env ${_android_arch}

    install -vdm 755 "$pkgdir/${ANDROID_PREFIX_SHARE}/alsa/"
    cp -av ucm2 "$pkgdir/${ANDROID_PREFIX_SHARE}/alsa/"
}