mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 15:47:15 +08:00
35 lines
794 B
Bash
35 lines
794 B
Bash
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=liblastfm
|
|
pkgver=1.0.7
|
|
_pkgver=5826fe6
|
|
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")
|
|
#source=("${pkgname}-${pkgver}.tar.gz::https://github.com/lastfm/${pkgname}/tarball/${pkgver}")
|
|
md5sums=('134d03604873ca845e50437a89ed49ee')
|
|
|
|
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
|
|
}
|
|
|