[arch-commits] Commit in liblastfm/repos (4 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Tue Feb 26 06:06:39 UTC 2013
Date: Tuesday, February 26, 2013 @ 07:06:38
Author: andrea
Revision: 178647
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
liblastfm/repos/staging-i686/
liblastfm/repos/staging-i686/PKGBUILD
(from rev 178646, liblastfm/trunk/PKGBUILD)
liblastfm/repos/staging-x86_64/
liblastfm/repos/staging-x86_64/PKGBUILD
(from rev 178646, liblastfm/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
Copied: liblastfm/repos/staging-i686/PKGBUILD (from rev 178646, liblastfm/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2013-02-26 06:06:38 UTC (rev 178647)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: XazZ <xazz.xazz [AT] googlemail.com>
+
+pkgname=liblastfm
+pkgver=1.0.6
+pkgrel=2
+pkgdesc="A Qt4 C++ library for the Last.fm webservices"
+arch=('i686' 'x86_64')
+url='https://github.com/lastfm/liblastfm/'
+license=('GPL')
+depends=('qt4' 'fftw' 'libsamplerate')
+makedepends=('cmake')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/lastfm/${pkgname}/tarball/${pkgver}")
+sha1sums=('cd84cf61d315c9739b3b65e31c2854a6b1a38630')
+
+build() {
+ . /etc/profile.d/qt4.sh
+
+ 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 build
+ make DESTDIR="${pkgdir}" install
+}
Copied: liblastfm/repos/staging-x86_64/PKGBUILD (from rev 178646, liblastfm/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2013-02-26 06:06:38 UTC (rev 178647)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: XazZ <xazz.xazz [AT] googlemail.com>
+
+pkgname=liblastfm
+pkgver=1.0.6
+pkgrel=2
+pkgdesc="A Qt4 C++ library for the Last.fm webservices"
+arch=('i686' 'x86_64')
+url='https://github.com/lastfm/liblastfm/'
+license=('GPL')
+depends=('qt4' 'fftw' 'libsamplerate')
+makedepends=('cmake')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/lastfm/${pkgname}/tarball/${pkgver}")
+sha1sums=('cd84cf61d315c9739b3b65e31c2854a6b1a38630')
+
+build() {
+ . /etc/profile.d/qt4.sh
+
+ 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 build
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list