summaryrefslogtreecommitdiff
path: root/extra/liblastfm/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2013-01-26 10:54:14 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2013-01-26 10:54:14 -0300
commit38e7e59a562c5f8ea83719e4dfd5cd4c9917d5b1 (patch)
tree8097f94554cc6e2c64d19db24e56e70e041e7757 /extra/liblastfm/PKGBUILD
parent328b5407de9f088d32c429b1b37f6efde3da06f8 (diff)
parent7d3e94229ca9849421d263542eb2c61f64a91c10 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/bird/PKGBUILD community/gmic/PKGBUILD community/linux-tools/PKGBUILD community/linux-tools/cpupower.systemd community/linux-tools/usbipd.service community/macchanger/PKGBUILD community/ndisc6/PKGBUILD community/nemiver/PKGBUILD core/gpgme/PKGBUILD extra/amarok/PKGBUILD extra/java-commons-daemon/PKGBUILD extra/libao/PKGBUILD extra/liblastfm/PKGBUILD
Diffstat (limited to 'extra/liblastfm/PKGBUILD')
-rw-r--r--extra/liblastfm/PKGBUILD40
1 files changed, 20 insertions, 20 deletions
diff --git a/extra/liblastfm/PKGBUILD b/extra/liblastfm/PKGBUILD
index d6dc74481..aeadccd9f 100644
--- a/extra/liblastfm/PKGBUILD
+++ b/extra/liblastfm/PKGBUILD
@@ -1,32 +1,32 @@
-# $Id: PKGBUILD 150615 2012-02-18 22:58:30Z pierre $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# $Id: PKGBUILD 175971 2013-01-25 14:23:37Z andrea $
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: XazZ <xazz.xazz [AT] googlemail.com>
pkgname=liblastfm
-pkgver=0.3.3
-pkgrel=3
-pkgdesc="A collection of libraries to help you integrate Last.fm services into your rich desktop software"
+pkgver=1.0.6
+pkgrel=1
+pkgdesc="A Qt C++ library for the Last.fm webservices"
arch=('i686' 'x86_64' 'mips64el')
-url="http://github.com/mxcl/liblastfm/"
+url='https://github.com/lastfm/liblastfm/'
license=('GPL')
-depends=('libsamplerate' 'fftw' 'qt')
-makedepends=('ruby')
-options=('!libtool')
-source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/mxcl/${pkgname}/tarball/${pkgver}"
- 'no-ftools.patch')
-sha1sums=('f2e9705c9c2cbeaa14f46da9bd35ab36fe710392'
- 'ba344601d29091fb88123f80592359369efdf338')
+depends=('qt' 'fftw' 'libsamplerate')
+makedepends=('cmake')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/lastfm/${pkgname}/tarball/${pkgver}")
+sha1sums=('cd84cf61d315c9739b3b65e31c2854a6b1a38630')
build() {
- cd ${srcdir}/mxcl-${pkgname}-1c739eb
-
- patch -Np1 -i ${srcdir}/no-ftools.patch
-
- ruby configure --release --prefix /usr
+ mkdir build
+ cd build
+ cmake ../lastfm-${pkgname}-5826fe6 \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DBUILD_TESTS=OFF
make
}
package(){
- cd ${srcdir}/mxcl-${pkgname}-1c739eb
- make DESTDIR=${pkgdir} install
+ cd build
+ make DESTDIR="${pkgdir}" install
}