diff options
Diffstat (limited to 'abs/extra/kodi-addon-pvr-mythtv')
-rw-r--r-- | abs/extra/kodi-addon-pvr-mythtv/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/abs/extra/kodi-addon-pvr-mythtv/PKGBUILD b/abs/extra/kodi-addon-pvr-mythtv/PKGBUILD new file mode 100644 index 0000000..d535338 --- /dev/null +++ b/abs/extra/kodi-addon-pvr-mythtv/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: dhead666 <myfoolishgames@gmail.com> +# https://github.com/dhead666/archlinux-pkgbuilds +# +# package version generated with # git log -1 --date=short --format="%cd.%h" | tr -d '-' + +pkgname=kodi-addon-pvr-mythtv +_gitname=pvr.mythtv +pkgver=20150719.538e24d +_gitver=538e24d18bdfeef785b7b6d41f934bceafe3cf34 +pkgrel=2 +pkgdesc='MythTV PVR client addon for Kodi' +arch=('i686' 'x86_64') +url="https://github.com/kodi-pvr/$_gitname" +license=('GPL') +groups=('kodi-addons') +makedepends=('cmake' 'kodi-platform-git' 'libplatform') +depends=('kodi>=15.0') +provides=('kodi-pvr-addons') +replaces=('kodi-pvr-addons') +source=("https://github.com/kodi-pvr/$_gitname/archive/$_gitver.tar.gz") +md5sums=('SKIP') + +_prefix='/usr' + +build() { + msg "Starting make..." + + cd "$srcdir/$_gitname-$_gitver" + mkdir -p build && pushd build + cmake \ + -DCMAKE_INSTALL_PREFIX=$_prefix \ + -DCMAKE_BUILD_TYPE=Release \ + .. + make + popd +} + +package() { + cd "$srcdir/$_gitname-$_gitver/build" + make DESTDIR="$pkgdir" install +} |