archlinux-pkgbuilds/kodi-addon-inputstream-adaptive/PKGBUILD

28 lines
919 B
Text
Raw Normal View History

2017-02-04 19:33:30 +01:00
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
# Contributor: kevku <kevku@gmx.com>
pkgname=kodi-addon-inputstream-adaptive
pkgver=2.3.15
2017-05-06 22:08:08 +02:00
pkgrel=1
pkgdesc="InputStream client for adaptive streams for Kodi 18+"
2017-02-04 19:33:30 +01:00
arch=('x86_64' 'i686')
url="https://github.com/peak3d/inputstream.adaptive"
2017-02-04 19:33:30 +01:00
license=('GPL2')
makedepends=('kodi-dev' 'cmake')
depends=('kodi-platform')
2017-02-04 19:33:30 +01:00
conflicts=("${pkgname%-git}")
source=("https://github.com/peak3d/inputstream.adaptive/archive/${pkgver}.tar.gz")
md5sums=('cf98a561ee33d329522340fffb29b68e')
2017-02-04 19:33:30 +01:00
build() {
cd "$srcdir/inputstream.adaptive-${pkgver}"
cmake -DCMAKE_INSTALL_PREFIX=/usr .
2017-02-04 19:33:30 +01:00
make
}
package() {
cd "$srcdir/inputstream.adaptive-${pkgver}"
2017-02-04 19:33:30 +01:00
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"
}