summaryrefslogtreecommitdiff
path: root/extra/nicotine
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-09 00:33:26 -0700
committerroot <root@rshg054.dnsready.net>2012-10-09 00:33:26 -0700
commit965fe5dd2bc0fae6b53c10d880c15f494dd589ac (patch)
tree910883dffa913262b28fb7a0e3bc41c3325b1dd2 /extra/nicotine
parent962d1e81a62d7259ccb686da1a44de2bb28e73a5 (diff)
Tue Oct 9 00:33:25 PDT 2012
Diffstat (limited to 'extra/nicotine')
-rw-r--r--extra/nicotine/PKGBUILD29
1 files changed, 13 insertions, 16 deletions
diff --git a/extra/nicotine/PKGBUILD b/extra/nicotine/PKGBUILD
index c37ea7190..08610c142 100644
--- a/extra/nicotine/PKGBUILD
+++ b/extra/nicotine/PKGBUILD
@@ -1,37 +1,34 @@
-# $Id: PKGBUILD 144457 2011-12-06 06:35:08Z angvp $
+# $Id: PKGBUILD 168342 2012-10-09 00:13:39Z eric $
# 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=3
+pkgrel=4
pkgdesc="Soulseek music-sharing client, written in python"
-license=('GPL')
arch=('i686' 'x86_64')
-depends=('pygtk>=2.14.1' 'mutagen')
-conflicts=(nicotine-plus)
-replaces=(nicotine-plus)
url="http://sourceforge.net/projects/nicotine-plus/"
+license=('GPL')
+depends=('pygtk' 'mutagen')
+optdepends=('python2-geoip: to enable Geographical blocker')
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}
+ 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}
+ sed -i -e 's|/usr/bin/env python|/usr/bin/env python2|' \
+ -e 's|/usr/bin/python|/usr/bin/python2|' pynicotine/{,gtkgui/}*.py
+
+ python2 setup.py install --root="${pkgdir}"
cd trayicon
python2 autogen.py
make
}
package() {
- cd ${srcdir}/${pkgname}+-${pkgver}/trayicon
- make DESTDIR=${pkgdir} install
- ln -s nicotine.py ${pkgdir}/usr/bin/nicotine
+ cd "${srcdir}/${pkgname}+-${pkgver}/trayicon"
+ make DESTDIR="${pkgdir}" install
+ ln -s nicotine.py "${pkgdir}/usr/bin/nicotine"
}