summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 65d64f8029232f06dd59546046f56571b8337881 (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
38
39
40
41
42
43
44
# Maintainer: robertfoster

pkgname=newsoul-git
pkgver=142.119b876
pkgrel=1
pkgdesc="Museek+, a daemon/server based Soulseek client, resurrected."
arch=('i686' 'x86_64')
url="https://github.com/KenjiTakahashi/newsoul"
license=('GPL3')
depends=(
    'json-c'
    'libevent'
    'taglib'
    'nettle'
    'sqlite'
)
optdepends=('python2-crypto: some python utils')
makedepends=('python2' 'premake')
provides=('newsoul')
source=('newsoul::git+https://github.com/KenjiTakahashi/newsoul.git')

build() {
  cd newsoul/build
  premake4 gmake
  make newsoul
}

package(){
  cd newsoul/build
  premake4 --prefix="${pkgdir}" install

  cd ../python-bindings
  python2 setup.py install --root=${pkgdir}/ --optimize=1

  cd ../python-utils
  python2 setup.py install --root=${pkgdir}/ --optimize=1
}

pkgver() {
  cd newsoul
  echo $(git rev-list --count master).$(git rev-parse --short master)
}

md5sums=('SKIP')