diff options
author | Michael Lass | 2015-07-25 11:00:34 +0200 |
---|---|---|
committer | Michael Lass | 2015-07-25 11:04:30 +0200 |
commit | 3401102c2409b6e56cf7fd8cf493e31b1ae2620e (patch) | |
tree | 46f94ea9ac3e6e34c981f621d121534fb2025d68 | |
download | aur-3401102c2409b6e56cf7fd8cf493e31b1ae2620e.tar.gz |
Inital commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 41 |
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..69d3f752587a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = kodi-addon-pvr-hts-git + pkgdesc = Tvheadend HTSP PVR client addon for Kodi + pkgver = r302.5c22440 + pkgrel = 1 + url = https://github.com/kodi-pvr/pvr.hts + arch = i686 + arch = x86_64 + license = GPL + makedepends = cmake + makedepends = git + makedepends = kodi-platform + depends = kodi + provides = kodi-addon-pvr-hts + conflicts = kodi-addon-pvr-hts + source = kodi-addon-pvr-hts-git::git+https://github.com/kodi-pvr/pvr.hts.git#branch=Isengard + md5sums = SKIP + +pkgname = kodi-addon-pvr-hts-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..618b80512754 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Michael Lass <bevan@bi-co.net> + +# This PKGBUILD is maintained on github: +# https://github.com/michaellass/AUR + +pkgname=kodi-addon-pvr-hts-git +pkgver=r302.5c22440 +pkgrel=1 +_branch=Isengard +pkgdesc='Tvheadend HTSP PVR client addon for Kodi' +arch=('i686' 'x86_64') +url="https://github.com/kodi-pvr/pvr.hts" +license=('GPL') +makedepends=('cmake' 'git' 'kodi-platform') +depends=('kodi') +provides=('kodi-addon-pvr-hts') +conflicts=('kodi-addon-pvr-hts') +source=("${pkgname}::git+https://github.com/kodi-pvr/pvr.hts.git#branch=${_branch}") +md5sums=('SKIP') + +pkgver() { + cd "$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + mkdir -p "$pkgname/build" + cd "$pkgname/build" + + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib/kodi \ + -DCMAKE_BUILD_TYPE=Release \ + .. + make +} + +package() { + cd "$pkgname/build" + make DESTDIR="$pkgdir" install +} |