summaryrefslogtreecommitdiff
path: root/extra/liblastfm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/liblastfm/PKGBUILD')
-rw-r--r--extra/liblastfm/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/liblastfm/PKGBUILD b/extra/liblastfm/PKGBUILD
new file mode 100644
index 000000000..13e5dd98e
--- /dev/null
+++ b/extra/liblastfm/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 100655 2010-11-25 08:43:40Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: XazZ <xazz.xazz [AT] googlemail.com>
+
+pkgname=liblastfm
+pkgver=0.3.3
+pkgrel=2
+pkgdesc="A collection of libraries to help you integrate Last.fm services into your rich desktop software"
+arch=('i686' 'x86_64')
+url="http://github.com/mxcl/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')
+
+build() {
+ cd ${srcdir}/mxcl-${pkgname}-1c739eb
+
+ patch -Np1 -i ${srcdir}/no-ftools.patch
+
+ ruby configure --release --prefix /usr
+ make
+}
+
+package(){
+ cd ${srcdir}/mxcl-${pkgname}-1c739eb
+ make DESTDIR=${pkgdir} install
+}