updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / qtscrob / PKGBUILD
blob06a3d23f7b1166ebdab9f116334b63bc2babbf9a
1 # Contributor: Georgij Kondratjev <smpuj@bk.ru>
2 pkgname=qtscrob
3 pkgver=0.10
4 pkgrel=3
5 pkgdesc="Last.fm scrobbler (QTScrobbler + scrobble-cli) supporting Apple iPods or DAPs running the Rockbox replacement firmware"
6 arch=("i686" "x86_64")
7 url="http://qtscrob.sourceforge.net/"
8 license=("GPL")
9 depends=('qt' 'curl' 'libmtp')
10 makedepends=()
11 source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
12 md5sums=('5d1e477dcf8f9fba89a77715c02b1403')
13 install=xdg-icon.install
15 build() {
16         cd "$startdir/src/$pkgname-$pkgver/src/cli"
17         make || return 1
18         install -Dm755 scrobble-cli "$startdir/pkg/usr/bin/scrobble-cli"
19         cd ../qt
20         prefix=/usr qmake || return 1
21         make || return 1
22         make INSTALL_ROOT="$pkgdir" install || return 1
24 # vim: ts=2