core/liblastfm/PKGBUILD
2013-11-14 00:49:42 +00:00

34 lines
747 B
Bash

# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
# contributor abveritas@chakra-project.org
pkgname=liblastfm
pkgver=1.0.8
pkgrel=1
pkgdesc='A Qt C++ library for the Last.fm webservices'
url="https://github.com/lastfm/liblastfm/"
license=('GPL3')
arch=('x86_64')
depends=('qt')
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 \
-DBUILD_FINGERPRINT=off \
-DCMAKE_BUILD_TYPE=Release \
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}