summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorservitkar2020-12-06 20:16:57 +0000
committerservitkar2020-12-06 20:16:57 +0000
commit52cb355c07970cef4fd50947268f90a9b1d35c9c (patch)
tree6c285e7a2812c2927292c7b6073470118064a524
downloadaur-52cb355c07970cef4fd50947268f90a9b1d35c9c.tar.gz
created PKGBUILD for kodi-addon-pvr-sledovanitv-cz-git
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD31
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9dcd38711e8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = kodi-addon-pvr-sledovanitv-cz-git
+ pkgdesc = sledovanitv.cz/sk PVR client addon for Kodi from palinek's sources
+ pkgver = 1.9.0.Leia.r0.g5390c53
+ pkgrel = 1
+ url = https://github.com/palinek/pvr.sledovanitv.cz
+ arch = any
+ license = GPL
+ makedepends = cmake
+ makedepends = git
+ makedepends = kodi-dev
+ makedepends = kodi-platform
+ depends = jsoncpp
+ depends = kodi
+ conflicts = kodi-addon-pvr-sledovanitv
+ source = kodi-addon-pvr-sledovanitv-cz-git::git+https://github.com/palinek/pvr.sledovanitv.cz.git#branch=Leia
+ md5sums = SKIP
+
+pkgname = kodi-addon-pvr-sledovanitv-cz-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..add47d3aae8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: servitkar <servitkar at gmail dot com>
+pkgname=kodi-addon-pvr-sledovanitv-cz-git
+pkgver=1.9.0.Leia.r0.g5390c53
+pkgrel=1
+pkgdesc="sledovanitv.cz/sk PVR client addon for Kodi from palinek's sources"
+arch=('any')
+url="https://github.com/palinek/pvr.sledovanitv.cz"
+license=('GPL')
+depends=('jsoncpp' 'kodi')
+makedepends=('cmake' 'git' 'kodi-dev' 'kodi-platform')
+conflicts=('kodi-addon-pvr-sledovanitv')
+source=("$pkgname::git+https://github.com/palinek/pvr.sledovanitv.cz.git#branch=Leia")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "$pkgname"
+ cmake . \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd "$pkgname"
+ make DESTDIR="$pkgdir/" install
+}