summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bb65cf6812b7ee381c8262ce44ca122f03eb506a (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
# Maintainer: Dmitry Kharitonov <darksab0r@gmail.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=1
pkgdesc="Bauer stereophonic-to-binaural DSP effect library (GIT version)"
arch=('i686' 'x86_64')
url=https://github.com/alexmarsev/libbs2b
license=('custom')
depends=()
makedepends=('git')
provides=('libbs2b')
source=('git+git://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"
}