blob: 6a1d8fa062c256fb1fa97abd5b7ff7400806c7b1 (
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
|
# Maintainer: Jameson Pugh <imntreal@gmail.com>
pkgname=kodi-addon-pvr-mythtv
pkgver=5.10.5
_kodiver=18.0
_codename=Leia
pkgrel=1
pkgdesc='MythTV PVR client addon for Kodi'
arch=('armv7h' 'i686' 'x86_64')
url="http://janbar.github.io/pvr.mythtv/"
license=('GPL')
makedepends=('cmake' 'git')
depends=("kodi")
source=("https://github.com/janbar/pvr.mythtv/archive/${pkgver}-$_codename.tar.gz"
"https://github.com/xbmc/xbmc/archive/${_kodiver}-$_codename.tar.gz")
build() {
mkdir -p "pvr.mythtv-${pkgver}/build"
cd "pvr.mythtv-${pkgver}/build"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DADDONS_TO_BUILD=pvr.mythtv \
-DADDONS_SRC_PREFIX=../.. \
../../xbmc-${_kodiver}-$_codename/cmake/addons
make
}
package() {
cd "pvr.mythtv-${pkgver}/build/build/depends"
install -d "${pkgdir}/usr/lib/kodi/addons/"
cp -r ./lib/kodi/addons/pvr.mythtv "${pkgdir}/usr/lib/kodi/addons"
install -d "${pkgdir}/usr/share/kodi/addons/"
cp -r ./share/kodi/addons/pvr.mythtv "${pkgdir}/usr/share/kodi/addons"
}
# vim:set ts=2 sw=2 et:
md5sums=('6f76c68fdaa24cb6c5c6fca4a898e554'
'010eefd71ffe789dcee0daf0c692123d')
|