summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 946e0c9ad38015dfab5397b4f46ad94b645c5983 (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
# Maintainer: Karol "Kenji Takahashi" Wo┼║niak <kenji.sx>

pkgname=newsoul
pkgver=0.2.1
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'
    'pcre'
)
optdepends=('python2-crypto: some python utils')
makedepends=('python2' 'premake')
source=("https://github.com/KenjiTakahashi/${pkgname}/archive/${pkgver}.tar.gz")
md5sums=('fc649edef6751da8533ba94ceb12ec8e')

build() {
    cd "${srcdir}/${pkgname}-${pkgver}/build"

    premake4 gmake
    make newsoul
}

package() {
    cd "${srcdir}/${pkgname}-${pkgver}/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
}

# vim:set ts=4 sw=4 et: