core/liblastfm/PKGBUILD

28 lines
643 B
Bash
Raw Normal View History

2010-05-24 23:40:27 +08:00
pkgname=liblastfm
2015-09-15 21:24:24 +08:00
pkgver=1.0.9
pkgrel=1
pkgdesc='A Qt C++ library for the Last.fm webservices'
url="https://github.com/lastfm/liblastfm/"
license=('GPL3')
arch=('x86_64')
2014-05-15 04:47:18 +08:00
depends=('qt' 'fftw' 'libsamplerate')
2015-09-15 21:24:24 +08:00
makedepends=('cmake')
source=("https://github.com/lastfm/liblastfm/archive/${pkgver}.tar.gz")
2015-09-15 21:24:24 +08:00
sha1sums=('4a6323538a26c5ea2080a8ebe58e4407dbc42397')
2010-05-24 23:40:27 +08:00
build() {
2015-09-15 21:24:24 +08:00
mkdir -p build && cd build
2010-05-24 23:40:27 +08:00
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_BUILD_TYPE=Release \
2015-09-15 21:24:24 +08:00
-DBUILD_TESTS=OFF
2011-03-25 19:52:51 +08:00
make
2010-05-24 23:40:27 +08:00
}
package() {
cd build
2010-05-24 23:40:27 +08:00
make DESTDIR=${pkgdir} install
}