[arch-commits] Commit in libechonest/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 9 22:08:43 UTC 2018
Date: Friday, November 9, 2018 @ 22:08:42
Author: felixonmars
Revision: 404858
archrelease: copy trunk to community-staging-x86_64
Added:
libechonest/repos/community-staging-x86_64/
libechonest/repos/community-staging-x86_64/PKGBUILD
(from rev 404857, libechonest/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: libechonest/repos/community-staging-x86_64/PKGBUILD (from rev 404857, libechonest/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-11-09 22:08:42 UTC (rev 404858)
@@ -0,0 +1,43 @@
+# Maintainer: Maxime Gauduin <alucryd at archinux.org>
+# Contributor: Kuba Serafinowski <zizzfizzix at gmail.com>
+# Contributor: Rick W. Chen <stuffcorpse at archlinux.us>
+
+pkgname=libechonest
+pkgver=2.3.1
+pkgrel=2
+pkgdesc='C++ library for interfacing with Echo Nest'
+arch=('x86_64')
+url='https://projects.kde.org/projects/playground/libs/libechonest'
+license=('GPL')
+depends=('gcc-libs' 'glibc' 'qjson' 'qt4')
+makedepends=('cmake')
+source=("http://files.lfranchi.com/libechonest-${pkgver}.tar.bz2")
+sha256sums=('56756545fd1cb3d9067479f52215b6157c1ced2bc82b895e72fdcd9bebb47889')
+
+
+prepare() {
+ cd libechonest-${pkgver}
+
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build
+}
+
+build() {
+ cd libechonest-${pkgver}/build
+
+ cmake .. \
+ -DCMAKE_BUILD_TYPE='Release' \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DECHONEST_BUILD_TESTS='False'
+ make
+}
+
+package() {
+ cd libechonest-${pkgver}/build
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list