mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
libechonest: modified
This commit is contained in:
parent
8869c967e3
commit
cf64d3a0f6
30
libechonest-qt4/PKGBUILD
Normal file
30
libechonest-qt4/PKGBUILD
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user