summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD38
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9659f24e7fc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+# Generated by mksrcinfo v8
+# Sun Feb 11 18:59:27 UTC 2018
+pkgbase = kodi-addon-pvr-sledovanitv-git
+ pkgdesc = sledovanitv.cz PVR client addon for Kodi
+ pkgver = 10.2314115
+ pkgrel = 1
+ url = https://lf.bukova.info/web/guest/kodi-pvr-for-sledovanitv.cz
+ arch = x86_64
+ license = GPL
+ makedepends = cmake
+ makedepends = git
+ makedepends = kodi-dev
+ makedepends = kodi-platform
+ depends = jsoncpp
+ depends = kodi
+ provides = kodi-addon-pvr-sledovanitv
+ conflicts = kodi-addon-pvr-sledovanitv
+ source = git+https://github.com/PepaRokos/pvr.sledovanitv.git
+ md5sums = SKIP
+
+pkgname = kodi-addon-pvr-sledovanitv-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..84029a1172f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
+pkgname=kodi-addon-pvr-sledovanitv-git
+pkgver=10.2314115
+pkgrel=1
+pkgdesc="sledovanitv.cz PVR client addon for Kodi"
+arch=('x86_64')
+url="https://lf.bukova.info/web/guest/kodi-pvr-for-sledovanitv.cz"
+license=('GPL')
+depends=('jsoncpp' 'kodi')
+makedepends=('cmake' 'git' 'kodi-dev' 'kodi-platform')
+provides=('kodi-addon-pvr-sledovanitv')
+conflicts=('kodi-addon-pvr-sledovanitv')
+options=()
+source=("git+https://github.com/PepaRokos/pvr.sledovanitv.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/pvr.sledovanitv"
+ echo $(git rev-list --count master).$(git rev-parse --short master)
+}
+
+prepare() {
+ cd "$srcdir/pvr.sledovanitv"
+ sed -i 's|^find_package_handle_standard_args.*|#&|' FindJsonCpp.cmake
+}
+
+build() {
+ cd "$srcdir/pvr.sledovanitv"
+ cmake . \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd "$srcdir/pvr.sledovanitv"
+ make DESTDIR="$pkgdir/" install
+}