core/liblastfm/PKGBUILD
2014-05-14 20:49:03 +00:00

33 lines
736 B
Bash

# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
# contributor abveritas@chakra-project.org
pkgname=liblastfm
pkgver=1.0.8
pkgrel=2
pkgdesc='A Qt C++ library for the Last.fm webservices'
url="https://github.com/lastfm/liblastfm/"
license=('GPL3')
arch=('x86_64')
depends=('qt' 'fftw' 'libsamplerate')
makedepends=('lsb-release' 'cmake')
source=("https://github.com/lastfm/liblastfm/archive/${pkgver}.tar.gz")
md5sums=('5f7c1d15c0be57d73ec480f74c1d4592')
build() {
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_BUILD_TYPE=Release \
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}