blob: d7da6f146315fdb9466a37223a2d6861fd9022f4 (
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
|
# Maintainer: Dmitry Kharitonov <arch[at]nano-model[dot]com>
# Contributor: Kyle Bloss <kylebloss[at]pelpix[dot]info>
# Contributor: Panagiotis Papadopoulos pano_90 AT gmx DOT net
pkgname=libbs2b-git
_gitname=libbs2b
pkgver=r75.5ca2d59
pkgrel=2
pkgdesc="Bauer stereophonic-to-binaural DSP effect library (GIT version)"
arch=('i686' 'x86_64')
url=https://github.com/alexmarsev/libbs2b
license=('custom')
depends=('libsndfile' 'libsndfile.so')
makedepends=('git')
provides=('libbs2b' 'libbs2b.so')
conflicts=('libbs2b')
source=('git+https://github.com/alexmarsev/libbs2b.git')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_gitname/"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_gitname/"
./autogen.sh
./configure --prefix=/usr
make || return 1
}
package() {
cd "$srcdir/$_gitname/"
make DESTDIR=$pkgdir install || return 1
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
|