[arch-commits] Commit in liblastfm/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Dec 6 17:10:53 UTC 2015
Date: Sunday, December 6, 2015 @ 18:10:53
Author: foutrelis
Revision: 252877
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
liblastfm/repos/staging-i686/
liblastfm/repos/staging-i686/PKGBUILD
(from rev 252876, liblastfm/trunk/PKGBUILD)
liblastfm/repos/staging-x86_64/
liblastfm/repos/staging-x86_64/PKGBUILD
(from rev 252876, liblastfm/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
2 files changed, 64 insertions(+)
Copied: liblastfm/repos/staging-i686/PKGBUILD (from rev 252876, liblastfm/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-12-06 17:10:53 UTC (rev 252877)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: XazZ <xazz.xazz [AT] googlemail.com>
+
+pkgname=liblastfm
+pkgver=1.0.9
+pkgrel=2
+pkgdesc="A Qt4 C++ library for the Last.fm webservices"
+arch=('i686' 'x86_64')
+url='https://github.com/lastfm/liblastfm/'
+license=('GPL3')
+depends=('qt4' 'fftw' 'libsamplerate')
+makedepends=('cmake')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/lastfm/${pkgname}/tarball/${pkgver}")
+sha1sums=('cd8c6f160529dbf9e0566973a8f37130c83a78c0')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../lastfm-${pkgname}-* \
+ -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 252876, liblastfm/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-12-06 17:10:53 UTC (rev 252877)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: XazZ <xazz.xazz [AT] googlemail.com>
+
+pkgname=liblastfm
+pkgver=1.0.9
+pkgrel=2
+pkgdesc="A Qt4 C++ library for the Last.fm webservices"
+arch=('i686' 'x86_64')
+url='https://github.com/lastfm/liblastfm/'
+license=('GPL3')
+depends=('qt4' 'fftw' 'libsamplerate')
+makedepends=('cmake')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/lastfm/${pkgname}/tarball/${pkgver}")
+sha1sums=('cd8c6f160529dbf9e0566973a8f37130c83a78c0')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../lastfm-${pkgname}-* \
+ -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