From 4da8df573fece7a3f5bb97454abd4f887fb4622b Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Tue, 3 May 2016 20:30:54 +0000
Subject: kodi-platform: replaces kodi-platform-git

---
 abs/extra/kodi-platform/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 abs/extra/kodi-platform/PKGBUILD

diff --git a/abs/extra/kodi-platform/PKGBUILD b/abs/extra/kodi-platform/PKGBUILD
new file mode 100644
index 0000000..a0f776d
--- /dev/null
+++ b/abs/extra/kodi-platform/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: BlackEagle <ike.devolder@gmail.com>>
+
+pkgname=kodi-platform
+_commit=92583ef
+pkgver=20160131.92583ef
+pkgrel=2
+pkgdesc="platform library for external kodi addons"
+arch=('i686' 'x86_64')
+url='https://github.com/xbmc/kodi-platform'
+license=('GPL')
+depends=('kodi' 'p8-platform')
+makedepends=('git' 'cmake')
+source=("$pkgname::git://github.com/xbmc/kodi-platform.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+	cd "$pkgname"
+	git log -1 --date=short --format="%cd.%h" | tr -d '-'
+}
+
+build() {
+	cd "$pkgname"
+	cmake \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DBUILD_SHARED_LIBS=1 \
+		-DUSE_LTO=1
+	make
+}
+
+package() {
+	cd "$pkgname"
+	make DESTDIR="$pkgdir/" install
+}
+
-- 
cgit v0.12

