commit d440b92879632eaeef57181a62ad3bfd19e7b6fc Author: Cedric Girard Date: Sat Feb 4 19:33:30 2017 +0100 first package version from git version diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..16ed0df --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = kodi-addon-inputstream-adaptive + pkgdesc = InputStream client for adaptive streams for Kodi 17+ + pkgver = 1.0.6 + pkgrel = 1 + url = https://github.com/liberty-developer/inputstream.adaptive + arch = x86_64 + arch = i686 + license = GPL2 + depends = kodi-platform-git>=r53 + conflicts = kodi-addon-inputstream-adaptive + source = https://github.com/peak3d/inputstream.adaptive/archive/v1.0.6.tar.gz + md5sums = 3694af673829f35a9fbafd4cd2649abe + +pkgname = kodi-addon-inputstream-adaptive + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..8328a79 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Cedric Girard +# Contributor: kevku +pkgname=kodi-addon-inputstream-adaptive +pkgver=1.0.6 +pkgrel=1 +pkgdesc="InputStream client for adaptive streams for Kodi 17+" +arch=('x86_64' 'i686') +url="https://github.com/liberty-developer/inputstream.adaptive" +license=('GPL2') +depends=('kodi-platform-git>=r53') +conflicts=("${pkgname%-git}") +source=("https://github.com/peak3d/inputstream.adaptive/archive/v${pkgver}.tar.gz") +md5sums=('3694af673829f35a9fbafd4cd2649abe') + + +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" +}