blob: 1a1ca3a9054b6094b9d8a9951579b81b80fe106e (
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
|
# Maintainer : Frederik “Freso” S. Olesen <freso.dk@gmail.com>
# Contributor : Jo De Boeck <deboeck.jo@gmail.com>
_pkgname=koditools
pkgname=$_pkgname-git
provides=("$_pkgname")
conflicts=("$_pkgname")
replaces=('xbmctools-git')
pkgver=1.2.r15.g8f6cf3e
pkgrel=1
arch=('any')
license=('GPL2')
pkgdesc="Set of tools to interface with Kodi/XBMC"
url='https://github.com/grimpy/koditools'
depends=('python')
makedepends=('python-distribute' 'git')
optdepends=('nginx: For sending media to kodi')
source=("git+${url}.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$_pkgname"
python setup.py build
}
package() {
cd "$srcdir/$_pkgname"
python setup.py install --skip-build --root=${pkgdir} --optimize=1
}
|