28 lines
993 B
Bash
28 lines
993 B
Bash
# Maintainer: Cedric Girard <cgirard.archlinux@valinor.fr>
|
|
# Contributor: kevku <kevku@gmx.com>
|
|
|
|
pkgname=kodi-addon-inputstream-adaptive
|
|
pkgver=2.3.18
|
|
pkgrel=1
|
|
pkgdesc="InputStream client for adaptive streams for Kodi 18+"
|
|
arch=('x86_64' 'i686')
|
|
url="https://github.com/peak3d/inputstream.adaptive"
|
|
license=('GPL2')
|
|
makedepends=('kodi-dev>=18' 'cmake')
|
|
depends=('kodi-platform')
|
|
conflicts=("${pkgname%-git}")
|
|
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/peak3d/inputstream.adaptive/archive/${pkgver}.tar.gz")
|
|
sha256sums=('11dab0e791c8fd6314adbf1bfb1b4f161889dd765c68d175bdebeb3e9b41b6c0')
|
|
|
|
|
|
build() {
|
|
cd "$srcdir/inputstream.adaptive-${pkgver}"
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr .
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/inputstream.adaptive-${pkgver}"
|
|
make DESTDIR="$pkgdir/" install
|
|
sed -i 's|special://home/cdm|/usr/lib/kodi/addons/inputstream.adaptive/lib|g' "$pkgdir/usr/share/kodi/addons/inputstream.adaptive/resources/settings.xml"
|
|
}
|