34 lines
643 B
Bash
34 lines
643 B
Bash
#!/usr/bin/env bash
|
|
name='alsa-lib'
|
|
release='3'
|
|
version='1.2.12'
|
|
url='https://www.alsa-project.org/'
|
|
description='alsa-lib Advanced Linux Sound Architecture Library '
|
|
email='bayramk@gmail.com'
|
|
maintainer='bk'
|
|
license=('GPLv3')
|
|
source=("https://github.com/alsa-project/alsa-lib/archive/refs/tags/v$version.tar.gz")
|
|
depends=()
|
|
makedepends=()
|
|
sha256sums=('f067dbba9376e5bbbb417b77751d2a9f2f277c54fb3a2b5c023cc2c7dfb4e3c1')
|
|
group=(media.libs)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
setup(){
|
|
autoreconf -fvi
|
|
./configure --prefix=/usr \
|
|
--libdir=/usr/lib64/
|
|
}
|
|
|
|
build(){
|
|
make -j`nproc`
|
|
}
|
|
|
|
package(){
|
|
make install -j`nproc`
|
|
}
|
|
|