You are not logged in.
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
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
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
Well there's my problem... I knew there would be one.
[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]
Offline
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
The PKGBUILD works! But please use install -d instead of mkdir.
Offline
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
I would say that if you're up for maintaining it, go ahead.
[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]
Offline
sounds good, i went ahead and uploaded it just a second ago
Offline