blob: 97edbeb97b5fbac24a77272ad9bea24f7feee7bb (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: jasch <jasch dot io at protonmail dot com>
pkgname=liquid-dsp-quiet-devel-git
pkgver=v1.2.0.r1586.g4951bbbf
pkgrel=7
pkgdesc="libliquid compatible with libquiet"
arch=('x86_64')
url="https://github.com/quiet/quiet-dsp"
license=('MIT')
depends=('fftw')
makedepends=('autoconf' 'automake' 'gcc' 'make')
optdepends=('libfec-git: forward error correction support')
provides=('liquid-dsp')
conflicts=('liquid-dsp')
options=('staticlibs')
source=("git+$url.git")
sha256sums=('SKIP')
prepare() {
cd quiet-dsp
git checkout devel
}
pkgver() {
cd quiet-dsp
# git rev-parse --short HEAD
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd quiet-dsp
rm -f config.cache aclocal.m4
aclocal
autoconf
autoheader
# ./bootstrap.sh
./configure --prefix /usr
make
}
package() {
cd quiet-dsp
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|