diff options
Diffstat (limited to 'extra/nicotine')
-rw-r--r-- | extra/nicotine/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/nicotine/PKGBUILD b/extra/nicotine/PKGBUILD new file mode 100644 index 000000000..0be93063f --- /dev/null +++ b/extra/nicotine/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 108389 2011-01-30 22:14:15Z angvp $ +# Maintainer: Angel Velasquez <angvp@archlinux.org> +# Contributor: Hugo Doria <hugo@archlinux.org> +# Contributor: Andrew Wright <andreww@photism.org> + +pkgname=nicotine +pkgver=1.2.16 +pkgrel=2 +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://sourceforge.net/projects/nicotine-plus/" +source=(http://downloads.sourceforge.net/project/nicotine-plus/nicotine-plus/${pkgver}/${pkgname}+-${pkgver}.tar.bz2) +optdepends=('python-sexy: To enable spell checking' + 'python-geoip: to enable Geographical blocker') +md5sums=('ac7433c21ef619a37e079a7ae68da94a') + +build() { + cd ${srcdir}/${pkgname}+-${pkgver} + sed -i -e "s/Icon=nicotine-plus/Icon=nicotine-plus-32px/" files/nicotine.desktop # Fixing FS#22476 + python2 setup.py install --root=${pkgdir} + cd trayicon + python2 autogen.py + make + make DESTDIR=${pkgdir} install + ln -s nicotine.py ${pkgdir}/usr/bin/nicotine +} |