blob: e61aa2dc73ffc14e8960688856fab7fce39d38af (
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
33
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=boca
_pkgname=BoCA
pkgver=1.0.7
pkgrel=1
epoch=1
pkgdesc="A component library used by the fre:ac audio converter"
arch=('x86_64')
url="https://github.com/enzo1982/BoCA"
license=('GPL-2.0-or-later')
depends=('alsa-lib' 'expat' 'libcdio-paranoia' 'libpulse' 'smooth' 'uriparser')
provides=('libboca-1.0.so=3' 'freac_cdk')
conflicts=('freac_cdk')
source=("$_pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('2c0b99b377e5bc5aeb046e34e25f8bc8af6427af30bf3105dd4318ed228a6a0f')
prepare() {
cd "$_pkgname-$pkgver"
find . -type f -exec sed -i 's|/usr/local|/usr|g' {} \;
sed -i 's/FOLDERS += coreaudioconnect/#FOLDERS += coreaudioconnect/g' \
components/encoder/Makefile
}
build() {
cd "$_pkgname-$pkgver"
make
}
package() {
cd "$_pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
|