PKGBUILDs/extra/nicotine/PKGBUILD

30 lines
911 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 53814 2009-10-03 13:04:52Z hugo $
# Maintainer: Hugo Doria <hugo@archlinux.org>
# Contributor: Andrew Wright <andreww@photism.org>
pkgname=nicotine
pkgver=1.2.12
pkgrel=3
pkgdesc="Soulseek music-sharing client, written in python"
license=('GPL')
arch=('i686' 'x86_64')
depends=('pygtk>=2.14.1' 'mutagen' 'python-geoip>=1.2.4')
conflicts=(nicotine-plus)
replaces=(nicotine-plus)
url="http://nicotine-plus.sourceforge.net"
source=(http://www.nicotine-plus.org/files/nicotine+-${pkgver}.tar.bz2)
md5sums=('83647f0578359ed27593e2f424deade8')
optdepends=('python-sexy: To enable spell checking'
'python-geoip: to enable Geographical blocker')
build() {
cd ${srcdir}/${pkgname}+-${pkgver}
python setup.py install --root=${pkgdir}
cd trayicon
python autogen.py
make || return 1
make DESTDIR=${pkgdir} install || return 1
ln -s nicotine.py ${pkgdir}/usr/bin/nicotine || return 1
}