You are not logged in.

#1 2009-01-27 22:42:55

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

[REQUEST] Last Agent

http://code.google.com/p/lastagent/

A Last.fm music tracker (not a scrobbler) for Linux that provides some of the missing functionality of the official client on local music. It allows you to love, tag or share the currently playing track, or add it to a Last.fm playlist, and more... All through a nice, neat and clean interface.

Offline

#2 2009-01-30 23:23:44

elmer_42
Member
From: /na/usa/ca
Registered: 2008-10-11
Posts: 427

Re: [REQUEST] Last Agent

This is my first ever PKGBUILD, but it installed fine and seemed to function correctly.

pkgname=lastagent
pkgver=0.3.02_4
otherver=0.3.02
pkgrel=1
pkgdesc="A Last.fm music tracker that provides some of the missing functionality of the official client"
url="http://code.google.com/p/lastagent/"
arch=('i686' 'x86_64')
license=GPL3
md5sums=('cef91efa7f7aaa2d70e282bed1765656')
depends=('python' 'pygtk' 'pylast' 'python-sexy' 'dbus-python')
source=(http://lastagent.googlecode.com/files/lastagent-${pkgver//_/-}.tar.bz2)
build() {
    cd "${srcdir}/$pkgname-$otherver"
    sudo sh installer.sh
}

[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]

Offline

#3 2009-01-31 00:16:40

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: [REQUEST] Last Agent

That is not a good pkgbuild, as it installs right away to the system, not into the fakeroot. DO NOT USE IT. I don't know how to fix it at the moment, but I'll try to make a better one monday.

Edit: Also, you can't uninstall it with pacman...

Last edited by SamC (2009-01-31 00:17:21)

Offline

#4 2009-01-31 00:26:48

elmer_42
Member
From: /na/usa/ca
Registered: 2008-10-11
Posts: 427

Re: [REQUEST] Last Agent

Well there's my problem... I knew there would be one.


[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]

Offline

#5 2009-01-31 18:08:59

evr
Arch Linux f@h Team Member
Registered: 2009-01-23
Posts: 554

Re: [REQUEST] Last Agent

try this one out.  i basically just took the commands from the install script and made them point to the correct directories for the fakeroot environment.

pkgname=lastagent
pkgver=0.3.02_4
otherver=0.3.02
pkgrel=1
pkgdesc="A Last.fm music tracker that provides some of the missing functionality of the official client"
arch=(i686, x86_64)
url="http://code.google.com/p/lastagent/"
license=('GPL3')
depends=('python' 'pygtk' 'pylast' 'python-sexy' 'dbus-python')
source=(http://lastagent.googlecode.com/files/lastagent-${pkgver//_/-}.tar.bz2)
md5sums=('cef91efa7f7aaa2d70e282bed1765656') #generate with 'makepkg -g'

build() {

  cd "$srcdir/$pkgname-$otherver"

  install -D ./lastagent ${pkgdir}/usr/bin/lastagent || return 1
  install -D -m644 lastagent.desktop ${pkgdir}/usr/share/applications/lastagent.desktop || return 1

  mkdir ${pkgdir}/usr/share/lastagent
  cp -rvf * ${pkgdir}/usr/share/lastagent/

}

Offline

#6 2009-01-31 19:20:09

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [REQUEST] Last Agent

The PKGBUILD works! But please use install -d instead of mkdir.

Offline

#7 2009-01-31 19:48:13

evr
Arch Linux f@h Team Member
Registered: 2009-01-23
Posts: 554

Re: [REQUEST] Last Agent

awesome, thanks.  I wasn't sure how to create a directory with the install command. 

Should I go ahead and upload this to the AUR after i make the change, or does someone else want to?

Offline

#8 2009-01-31 21:43:48

elmer_42
Member
From: /na/usa/ca
Registered: 2008-10-11
Posts: 427

Re: [REQUEST] Last Agent

I would say that if you're up for maintaining it, go ahead.


[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]

Offline

#9 2009-01-31 22:16:17

evr
Arch Linux f@h Team Member
Registered: 2009-01-23
Posts: 554

Re: [REQUEST] Last Agent

sounds good, i went ahead and uploaded it just a second ago

Offline

Board footer

Powered by FluxBB