mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 21:57:17 +08:00
31 lines
758 B
Bash
31 lines
758 B
Bash
# $Id: $
|
|
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
|
|
# Contributor: XazZ <xazz.xazz [AT] googlemail.com>
|
|
|
|
pkgname=liblastfm
|
|
pkgver=0.3.0
|
|
pkgrel=5
|
|
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' 'openssl')
|
|
makedepends=('ruby')
|
|
options=('!libtool')
|
|
source=(http://static.last.fm/src/$pkgname-$pkgver.tar.bz2)
|
|
md5sums=('3f73222ebc31635941832b01e7a494b6')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
sed -i "s/require 'ftools'//g" admin/*
|
|
|
|
./configure --prefix /usr
|
|
make || return 1
|
|
}
|
|
|
|
package(){
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install
|
|
}
|