diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-08-21 14:54:45 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-08-21 14:54:45 (GMT) |
commit | fcf3588951524fb897a69bd5d3a7440ac6861b83 (patch) | |
tree | 2dbe50057798054c0af5b3d660fa42810e9cccd6 | |
parent | dd071c9810f5382efa80e84d67b83df0a03fd2ea (diff) | |
download | linhes_pkgbuild-fcf3588951524fb897a69bd5d3a7440ac6861b83.zip linhes_pkgbuild-fcf3588951524fb897a69bd5d3a7440ac6861b83.tar.gz linhes_pkgbuild-fcf3588951524fb897a69bd5d3a7440ac6861b83.tar.bz2 |
kodi-addon-pvr-mythtv: replaces kodi-pvr-addons
-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 +} |