summaryrefslogtreecommitdiff
path: root/community/nicotine/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-05 00:07:38 -0800
committerroot <root@rshg054.dnsready.net>2013-02-05 00:07:38 -0800
commitb91dca65217b7c35be84df053692c9fd1b012560 (patch)
tree1ab70184cb03b2ac7a5123daed51de63f9df742b /community/nicotine/PKGBUILD
parent3e78397cb031dee2b5874f1c0c9e4c9977f0dbb7 (diff)
Tue Feb 5 00:07:38 PST 2013
Diffstat (limited to 'community/nicotine/PKGBUILD')
-rw-r--r--community/nicotine/PKGBUILD40
1 files changed, 25 insertions, 15 deletions
diff --git a/community/nicotine/PKGBUILD b/community/nicotine/PKGBUILD
index 4b849aa83..bd3c6e999 100644
--- a/community/nicotine/PKGBUILD
+++ b/community/nicotine/PKGBUILD
@@ -1,34 +1,44 @@
-# $Id: PKGBUILD 83168 2013-01-27 16:22:44Z pierre $
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
+# $Id: PKGBUILD 83656 2013-02-04 10:04:46Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Hugo Doria <hugo@archlinux.org>
# Contributor: Andrew Wright <andreww@photism.org>
pkgname=nicotine
pkgver=1.2.16
-pkgrel=4
-pkgdesc="Soulseek music-sharing client, written in python"
-arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/nicotine-plus/"
+pkgrel=5
+pkgdesc='Soulseek music-sharing client, written in python'
+arch=('x86_64' 'i686')
+url='http://sourceforge.net/projects/nicotine-plus/'
license=('GPL')
-depends=('pygtk' 'mutagen')
+depends=('pygtk' 'mutagen') #'python-sexy') TODO: Move python-sexy from AUR
+makedepends=('setconf')
optdepends=('python2-geoip: to enable Geographical blocker')
-source=(http://downloads.sourceforge.net/project/nicotine-plus/nicotine-plus/${pkgver}/${pkgname}+-${pkgver}.tar.bz2)
-md5sums=('ac7433c21ef619a37e079a7ae68da94a')
+source=("http://downloads.sourceforge.net/project/nicotine-plus/nicotine-plus/${pkgver}/${pkgname}+-${pkgver}.tar.bz2")
+sha256sums=('71e5b33e273daaf072dbf63839536c14d7ead9d149323d50eee09f7429e34c1d')
build() {
- cd "${srcdir}/${pkgname}+-${pkgver}"
- sed -i -e "s/Icon=nicotine-plus/Icon=nicotine-plus-32px/" files/nicotine.desktop # Fixing FS#22476
+ cd "$srcdir/${pkgname}+-$pkgver"
+
+ # Fix for FS#22476
+ setconf files/nicotine.desktop Icon nicotine-plus-32px
+
+ # Python fix
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"
+
+ python2 setup.py install --root="$pkgdir"
+ cd trayicon
+ make DESTDIR="$pkgdir" install
+ ln -s nicotine.py "$pkgdir/usr/bin/nicotine"
}
+
+# vim:set ts=2 sw=2 et: