summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b66f6ba039f45d2bec376a331dac807329927bf1 (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
#! /bin/bash
# Maintainer: Rafael Cavalcanti <rccavalcanti 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=1.4.1.r17.g8b2c199
pkgrel=1
pkgdesc="A fork of Nicotine, a graphical client for Soulseek."
arch=('any')
url="http://nicotine-plus.org/"
license=('GPL3')
depends=('pygtk' 'gtk2' 'mutagen')
makedepends=('git' 'python2')
optdepends=('miniupnpc: UPnP support'
	'python2-geoip: for geo-blocker'
	'python2-notify: for notifications')
source=(git+https://github.com/Nicotine-Plus/${_gitname}.git)
sha512sums=('SKIP')

pkgver() {
	cd "${srcdir}/$_gitname"
	git describe --long --tags | sed 's/-/.r/;s/-/./'
}

build() {
	cd "$srcdir/$_gitname"
	python2 setup.py install --root=$srcdir/pkg
}

package() {
	mv ${srcdir}/pkg/* ${pkgdir}
}