core/liblastfm-qt4/PKGBUILD
2015-09-16 00:11:03 +00:00

32 lines
725 B
Bash

pkgname=liblastfm-qt4
_pkgname=liblastfm
pkgver=1.0.9
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')
makedepends=('cmake')
conflicts=('liblastfm')
provides=('liblastfm')
source=("https://github.com/lastfm/liblastfm/archive/${pkgver}.tar.gz")
sha1sums=('4a6323538a26c5ea2080a8ebe58e4407dbc42397')
build() {
mkdir -p build && cd build
cmake ../${_pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTS=Off \
-DBUILD_FINGERPRINT=Off
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}