mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
31 lines
828 B
Bash
31 lines
828 B
Bash
pkgname=libechonest-qt4
|
|
_pkgname=libechonest
|
|
pkgver=2.3.1
|
|
pkgrel=1
|
|
pkgdesc="C++ library for interfacing with Echo Nest"
|
|
arch=('x86_64')
|
|
url="https://projects.kde.org/projects/playground/libs/libechonest"
|
|
license=('GPL')
|
|
depends=('qjson')
|
|
makedepends=('cmake' 'pkg-config')
|
|
provides=('libechonest')
|
|
source=(http://files.lfranchi.com/${_pkgname}-${pkgver}.tar.bz2)
|
|
sha1sums=('9d7245c71e707651a7054ce6f0d90b9a62004b23')
|
|
|
|
prepare() {
|
|
if [[ -e ${srcdir}/${_pkgname}-${pkgver}-build ]]; then rm -rf ${srcdir}/${_pkgname}-${pkgver}-build; fi
|
|
mkdir ${srcdir}/${_pkgname}-${pkgver}-build
|
|
}
|
|
|
|
build() {
|
|
cd ${srcdir}/${_pkgname}-${pkgver}-build
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ../${_pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${_pkgname}-${pkgver}-build
|
|
make DESTDIR=${pkgdir} install
|
|
}
|