# $Id: PKGBUILD 170160 2012-11-03 19:43:21Z heftig $ # Contributor: Wieland Hoffmann # Maintainer: Gaetan Bisson pkgname=chromaprint pkgver=0.7 pkgrel=1 pkgdesc='Library that implements a custom algorithm for extracting fingerprints from any audio source' url='http://acoustid.org/chromaprint/' arch=('i686' 'x86_64' 'mips64el') license=('LGPL') depends=('ffmpeg') makedepends=('cmake') source=("https://github.com/downloads/lalinsky/${pkgname}/${pkgname}-${pkgver}.tar.gz") sha1sums=('6a961585e82d26d357eb792216becc0864ddcdb2') build() { cd "${srcdir}/${pkgname}-${pkgver}" cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_EXAMPLES=ON . make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }