blob: ae892f2116ff3fb81ee81aa76db0102872db3883 (
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
|
# Maintainer: Francois Menning <f.menning@protonmail.com>
# Contributor: Michael Lass <bevan@bi-co.net>
# Contributor: Julian Xhokaxhiu <https://julianxhokaxhiu.com>
_gitname=pvr.iptvsimple
pkgname=kodi-addon-pvr-iptvsimple-git
pkgver=r871.847750a
pkgrel=1
pkgdesc="Kodi's IPTV Simple client addon."
url='https://github.com/kodi-pvr/pvr.iptvsimple'
license=('GPL3')
source=("${_gitname}::git+https://github.com/kodi-pvr/pvr.iptvsimple#branch=Omega")
sha256sums=('SKIP')
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() {
export CFLAGS="$CFLAGS -Wp,-U_GLIBCXX_ASSERTIONS"
export CXXFLAGS="$CXXFLAGS -Wp,-U_GLIBCXX_ASSERTIONS"
cd "${srcdir}/${_gitname}"
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
}
|