[arch-commits] Commit in kodi-platform/repos (2 files)

Ike Devolder idevolder at archlinux.org
Sun Feb 24 21:31:39 UTC 2019


    Date: Sunday, February 24, 2019 @ 21:31:37
  Author: idevolder
Revision: 435561

archrelease: copy trunk to community-testing-x86_64

Added:
  kodi-platform/repos/community-testing-x86_64/
  kodi-platform/repos/community-testing-x86_64/PKGBUILD
    (from rev 435560, kodi-platform/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: kodi-platform/repos/community-testing-x86_64/PKGBUILD (from rev 435560, kodi-platform/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2019-02-24 21:31:37 UTC (rev 435561)
@@ -0,0 +1,36 @@
+# Maintainer: BlackEagle <ike.devolder at gmail.com>>
+
+pkgname=kodi-platform
+_commit=e8574b8
+pkgver=20180302.e8574b8
+pkgrel=10
+pkgdesc="platform library for external kodi addons"
+arch=('x86_64')
+url='https://github.com/xbmc/kodi-platform'
+license=('GPL')
+depends=('kodi' 'p8-platform')
+makedepends=('git' 'cmake' 'kodi-dev')
+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
+}
+



More information about the arch-commits mailing list