blob: f3f2d71d1ec5acdaa8347bb2b49615f563ee4adc (
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
|
#! /bin/bash
# Maintainer: Rafael Cavalcanti <rc.cavalcanti at gmail dot com>
# Contributor: Jorge Barroso <jorge.barroso.11 at gmail dot com>
# Contributor: x-demon
pkgname=nicotine-plus-git
_gitname=nicotine-plus
pkgver=r1824.86583b9
pkgrel=1
pkgdesc="A fork of Nicotine, a graphical client for the SoulSeek peer-to-peer system."
arch=('i686' 'x86_64')
url="http://nicotine-plus.org"
license=('GPL')
depends=('pygtk' 'gtk2' 'mutagen')
makedepends=('git' 'python2')
optdepends=('miniupnpc: To enable UPnP support'
'python-sexy: To enable spell checking'
'python-geoip: To enable geographical blocker')
conflicts=('nicotine' 'nicotine-plus')
replaces=('nicotine' 'nicotine-plus')
source=(git+https://github.com/Nicotine-Plus/${_gitname}.git)
sha512sums=('SKIP')
pkgver() {
cd "${srcdir}/$_gitname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_gitname"
python2 setup.py install --root=$srcdir/pkg
}
package() {
mv ${srcdir}/pkg/* ${pkgdir}
}
|