diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-05-03 20:30:54 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-05-03 20:30:54 (GMT) |
commit | 4da8df573fece7a3f5bb97454abd4f887fb4622b (patch) | |
tree | 50aba67dd427f1b0dd684b1d3229b76a06f09ca0 /abs/extra/kodi-platform | |
parent | f77ade88c98bcc205790b14d203520074892ccba (diff) | |
download | linhes_pkgbuild-4da8df573fece7a3f5bb97454abd4f887fb4622b.zip linhes_pkgbuild-4da8df573fece7a3f5bb97454abd4f887fb4622b.tar.gz linhes_pkgbuild-4da8df573fece7a3f5bb97454abd4f887fb4622b.tar.bz2 |
kodi-platform: replaces kodi-platform-git
Diffstat (limited to 'abs/extra/kodi-platform')
-rw-r--r-- | abs/extra/kodi-platform/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
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 +} + |