first package version from git version

This commit is contained in:
Cedric Girard 2017-02-04 19:33:30 +01:00
commit d440b92879
2 changed files with 42 additions and 0 deletions

15
.SRCINFO Normal file
View file

@ -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

27
PKGBUILD Normal file
View file

@ -0,0 +1,27 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
# Contributor: kevku <kevku@gmx.com>
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"
}