diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-08-21 12:53:41 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-08-21 12:53:41 (GMT) |
commit | dd071c9810f5382efa80e84d67b83df0a03fd2ea (patch) | |
tree | b99d304be4067c6a2c3e70daf5ed61de03c71a98 /abs/extra | |
parent | 50335adace53668ce9696707ee6a3790eda94aff (diff) | |
download | linhes_pkgbuild-dd071c9810f5382efa80e84d67b83df0a03fd2ea.zip linhes_pkgbuild-dd071c9810f5382efa80e84d67b83df0a03fd2ea.tar.gz linhes_pkgbuild-dd071c9810f5382efa80e84d67b83df0a03fd2ea.tar.bz2 |
kodi-platform-git: initial inclusion. dep of kodi-addon-pvr-mythtv
Diffstat (limited to 'abs/extra')
-rw-r--r-- | abs/extra/kodi-platform-git/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/abs/extra/kodi-platform-git/PKGBUILD b/abs/extra/kodi-platform-git/PKGBUILD new file mode 100644 index 0000000..e715ee5 --- /dev/null +++ b/abs/extra/kodi-platform-git/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Michael Lass <bevan@bi-co.net> + +# This PKGBUILD is maintained on github: +# https://github.com/michaellass/AUR + +pkgname=kodi-platform-git +pkgver=r38.15edaf7 +pkgrel=1 +pkgdesc='Kodi platform support library' +arch=('armv7h' 'i686' 'x86_64') +url="https://github.com/xbmc/kodi-platform" +license=('GPL') +makedepends=('cmake' 'git') +depends=('kodi' 'libplatform') +provides=('kodi-platform') +conflicts=('kodi-platform') +source=("${pkgname}::git+https://github.com/xbmc/kodi-platform.git") +md5sums=('SKIP') + +pkgver() { + cd "$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + mkdir -p "$pkgname/build" + cd "$pkgname/build" + + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DCMAKE_INSTALL_LIBDIR_NOARCH=/usr/lib \ + -DCMAKE_BUILD_TYPE=Release \ + .. + make +} + +package() { + cd "$pkgname/build" + make DESTDIR="$pkgdir" install +} |