summaryrefslogtreecommitdiff
path: root/extra/chromaprint/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-04 01:49:10 -0700
committerroot <root@rshg054.dnsready.net>2012-11-04 01:49:10 -0700
commit2030e810a5cfd4d3ff6e0f8930560c96f2990eb2 (patch)
tree383f3fafef303aec9d89c9da313b51bbaf424ac0 /extra/chromaprint/PKGBUILD
parente3f70522f1f35359d9307f478c96dace20a51ca1 (diff)
Sun Nov 4 01:48:41 PDT 2012
Diffstat (limited to 'extra/chromaprint/PKGBUILD')
-rw-r--r--extra/chromaprint/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/chromaprint/PKGBUILD b/extra/chromaprint/PKGBUILD
new file mode 100644
index 000000000..439292d9b
--- /dev/null
+++ b/extra/chromaprint/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 170160 2012-11-03 19:43:21Z heftig $
+# Contributor: Wieland Hoffmann <the_mineo@web.de>
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+
+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')
+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
+}