summaryrefslogtreecommitdiff
path: root/community/chromaprint/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/chromaprint/PKGBUILD')
-rw-r--r--community/chromaprint/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/chromaprint/PKGBUILD b/community/chromaprint/PKGBUILD
new file mode 100644
index 000000000..ea7e1ef90
--- /dev/null
+++ b/community/chromaprint/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 62590 2012-01-22 09:25:04Z bisson $
+# Contributor: Wieland Hoffmann <the_mineo@web.de>
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+
+pkgname=chromaprint
+pkgver=0.6
+pkgrel=2
+pkgdesc='Library that implements a custom algorithm for extracting fingerprints from any audio source'
+url='http://acoustid.org/chromaprint/'
+arch=('i686' 'x86_64')
+license=('LGPL')
+depends=('ffmpeg')
+makedepends=('cmake')
+source=("https://github.com/downloads/lalinsky/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('e8bcc1d0d8dfec86aa648b87ba3f69b6d589eae0')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_EXAMPLES=ON .
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}