blob: 7e8d12f1a9cb63ec3af144d3e852089b0449ccbb (
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: Faruk Dikcizgi <boogiepop@gmx.de>
# Contributor: Francois Menning <f.menning@protonmail.com>
# Contributor: Michael Lass <bevan@bi-co.net>
# Contributor: Julian Xhokaxhiu <https://julianxhokaxhiu.com>
_gitname=pvr.iptvsimple
pkgname=kodi-matrix-addon-pvr-iptvsimple-git
pkgver=r712.6447c58
pkgrel=1
pkgdesc="Kodi's IPTV Simple client addon for Kodi 19 Matrix"
url='https://github.com/kodi-pvr/pvr.iptvsimple'
license=('GPL3')
source=("${_gitname}::git+https://github.com/kodi-pvr/pvr.iptvsimple#branch=Matrix")
sha256sums=('SKIP')
options=(!lto debug strip)
arch=('any')
depends=('kodi' 'p8-platform')
makedepends=('git' 'cmake' 'kodi-platform' 'kodi-dev' 'pugixml')
conflicts=('kodi-addon-pvr-iptvsimple' 'kodi-pvr-addons')
provides=('kodi-addon-pvr-iptvsimple')
pkgver() {
cd "${srcdir}/${_gitname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${_gitname}"
CFLAGS="$CFLAGS -Wp,-U_GLIBCXX_ASSERTIONS"
CXXFLAGS="$CXXFLAGS -Wp,-U_GLIBCXX_ASSERTIONS"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib/kodi \
-DCMAKE_BUILD_TYPE=Release
}
package() {
cd "${srcdir}/${_gitname}"
make -j$(getconf _NPROCESSORS_ONLN) prefix=/usr DESTDIR="$pkgdir" install
}
|