Commit 8fb6e954 authored by abveritas's avatar abveritas

liblastfm changed github source again, updated to 1.0.6

parent 8132874c
......@@ -4,35 +4,33 @@
# maintainer abveritas@chakra-project.org
pkgname=liblastfm
pkgver=1.0.3
pkgver=1.0.6
_pkgver=5826fe6
pkgrel=1
pkgdesc='A Qt C++ library for the Last.fm webservices'
url="https://github.com/eartle/liblastfm/"
url="https://github.com/lastfm/liblastfm/"
license=('GPL3')
arch=('x86_64')
depends=('qt')
makedepends=('lsb-release' 'cmake')
source=("https://github.com/eartle/${pkgname}/zipball/${pkgver}")
_ziphash=18f1cd1
md5sums=('72b097b6fc85869ba3c1ae7ce85f3c19')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/lastfm/${pkgname}/tarball/${pkgver}")
md5sums=('400dd3c0f7ccb39992678c9dc1a9e48b')
build() {
if [[ -e ${srcdir}/${pkgname}-${pkgver}-build ]]; then rm -rf ${srcdir}/${pkgname}-${pkgver}-build; else mv ${srcdir}/eartle-${pkgname}-${_ziphash} ${srcdir}/${pkgname}-${pkgver}; fi
mkdir build
cd build
mkdir ${srcdir}/${pkgname}-${pkgver}-build
cd ${srcdir}/${pkgname}-${pkgver}-build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_LIBEXECDIR=lib/${_pkgname} \
cmake ../lastfm-${pkgname}-${_pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DBUILD_FINGERPRINT=off \
-DCMAKE_BUILD_TYPE=Release \
../${pkgname}-${pkgver}
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}-build
cd build
make DESTDIR=${pkgdir} install
}
--- mxcl-liblastfm-3539836/admin/findsrc.rb~ 2010-09-19 10:35:34.783333338 +0200
+++ mxcl-liblastfm-3539836/admin/findsrc.rb 2010-09-19 10:35:57.730000003 +0200
@@ -1,6 +1,6 @@
#!/usr/bin/ruby
require 'find'
-require "#{File.dirname __FILE__}/platform"
+require "#{Dir.getwd}/admin/platform.rb"
def findsrc dir='.'
excludes = ['.svn','.git','_include','tests','_build']
--- mxcl-liblastfm-3539836/admin/qpp~ 2010-09-19 10:36:09.276666670 +0200
+++ mxcl-liblastfm-3539836/admin/qpp 2010-09-19 10:36:16.926666670 +0200
@@ -2,9 +2,8 @@
# Creates a qmake .pro file for all valid SOURCES, HEADERS, FORMS and
# RESOURCES under each argument to ARGV as directories
-cwd=File.dirname __FILE__
require 'find'
-require "#{cwd}/findsrc"
+require "#{Dir.getwd}/admin/findsrc.rb"
sources = Array.new
headers = Array.new
--- mxcl-liblastfm-3539836/admin/Makefile.rb~ 2010-09-19 10:35:38.086666671 +0200
+++ mxcl-liblastfm-3539836/admin/Makefile.rb 2010-09-19 10:36:05.816666671 +0200
@@ -4,9 +4,8 @@
# and then creates the directory _include and creates files named after the
# class names in there which #include the file that contains the class
-cwd = File.dirname( __FILE__ )
require 'find'
-require "#{cwd}/platform.rb"
+require "#{Dir.getwd}/admin/platform.rb"
######################################################################### defs
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment