blob: 96cf743d528e0493c3c304f3d4d6fa8c35cb9e8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $Id: PKGBUILD 144457 2011-12-06 06:35:08Z 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=3
pkgdesc="Soulseek music-sharing client, written in python"
license=('GPL')
arch=('i686' 'x86_64' 'mips64el')
depends=('pygtk>=2.14.1' 'mutagen')
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
}
package() {
cd ${srcdir}/${pkgname}+-${pkgver}/trayicon
make DESTDIR=${pkgdir} install
ln -s nicotine.py ${pkgdir}/usr/bin/nicotine
}
|