From fcf3588951524fb897a69bd5d3a7440ac6861b83 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Fri, 21 Aug 2015 14:54:45 +0000
Subject: kodi-addon-pvr-mythtv: replaces kodi-pvr-addons

---
 abs/extra/kodi-addon-pvr-mythtv/PKGBUILD | 41 ++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 abs/extra/kodi-addon-pvr-mythtv/PKGBUILD

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
+}
-- 
cgit v0.12

