blob: 2425c58c82d75d87f0a56add5469a596913b7f0b (
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
|
# Maintainer: envolution
# Contributor: jasch <jasch dot io at protonmail dot com>
# shellcheck shell=bash disable=SC2034,SC2154
pkgname=liquid-dsp-quiet-devel-git
pkgver=1.2.0.r1586.g4951bbbf
pkgrel=1
pkgdesc="libliquid compatible with libquiet"
arch=('x86_64')
url="https://github.com/quiet/quiet-dsp"
license=('MIT')
depends=('fftw')
makedepends=('git' 'autoconf' 'automake' 'gcc' 'make')
optdepends=('libfec-git: forward error correction support')
provides=('liquid-dsp')
conflicts=('liquid-dsp')
options=('staticlibs')
source=("git+https://github.com/quiet/quiet-dsp.git#branch=devel")
sha256sums=('SKIP')
prepare() {
cd quiet-dsp
git checkout devel
}
pkgver() {
cd quiet-dsp
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd quiet-dsp
rm -f config.cache aclocal.m4
aclocal
autoconf
autoheader
./configure --prefix /usr
make
}
package() {
cd quiet-dsp
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
|