archlinux-pkgbuilds/PKGBUILD

29 lines
951 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
2017-05-06 22:08:08 +02:00
pkgver=1.0.8
pkgrel=1
2017-02-04 19:33:30 +01:00
pkgdesc="InputStream client for adaptive streams for Kodi 17+"
arch=('x86_64' 'i686')
url="https://github.com/peak3d/inputstream.adaptive"
2017-02-04 19:33:30 +01:00
license=('GPL2')
2017-02-07 17:43:10 +01:00
makedepends=('kodi-dev')
depends=('kodi-platform=20170306.36fb493')
2017-02-04 19:33:30 +01:00
conflicts=("${pkgname%-git}")
2017-05-06 22:08:08 +02:00
source=("https://github.com/peak3d/inputstream.adaptive/archive/${pkgver}_k17.tar.gz")
md5sums=('5f0b3acfd278a8e9bfac5bb8191b05ec')
2017-02-04 19:33:30 +01:00
build() {
2017-05-06 22:08:08 +02:00
cd "$srcdir/inputstream.adaptive-${pkgver}_k17"
2017-02-04 19:33:30 +01:00
cmake \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
2017-05-06 22:08:08 +02:00
cd "$srcdir/inputstream.adaptive-${pkgver}_k17"
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"
}