summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9264631f3adb509253cefacd523dc172dd6ee1a9 (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
# Maintainer: Wieland Hoffmann <the_mineo@web.de>
pkgname=chromaprint-git
pkgver=v0.7_11_gc17e6c5
pkgrel=1
pkgdesc="Client library, written in C++, for extracting audio fingerprints. "
arch=('i686' 'x86_64')
url="http://wiki.acoustid.org/wiki/Chromaprint"
license=('LGPL')
provides=('chromaprint')
conflicts=('chromaprint-bzr' 'chromaprint')
depends=('ffmpeg')
makedepends=('git' 'cmake')
source=('git+https://bitbucket.org/acoustid/chromaprint.git')
md5sums=('SKIP')

pkgver() {
    cd "$srcdir/chromaprint"
    echo "$(git describe --tags --always | sed 's/-/_/g')"
}

build() {
    cd "$srcdir/chromaprint"
    cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_EXAMPLES=ON .
}

package() {
    cd "$srcdir/chromaprint"
    make DESTDIR="$pkgdir/" install
}