commit e4fb4fb4cf9719517620a2792f4bdfa126b20f1c Author: Cedric Girard Date: Mon Apr 13 17:58:49 2015 +0200 new PKGBUILD : libplatform-git (required for libcec-git) diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..ff1b682 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = libplatform-git + pkgdesc = Platform support library used by libCEC and binary add-ons for Kodi + pkgver = 1.0.1 + pkgrel = 1 + url = https://github.com/Pulse-Eight/platform + arch = i686 + arch = x86_64 + license = GPL + makedepends = git + provides = libplatform + conflicts = libplatform + source = libplatform::git+https://github.com/Pulse-Eight/platform.git + md5sums = SKIP + +pkgname = libplatform-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..63a0366 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Cedric Girard + +pkgname=libplatform-git +pkgver=1.0.1 +pkgrel=1 +pkgdesc="Platform support library used by libCEC and binary add-ons for Kodi" +arch=('i686' 'x86_64') +url="https://github.com/Pulse-Eight/platform" +license=('GPL') +makedepends=('git') +provides=('libplatform') +conflicts=('libplatform') +source=('libplatform::git+https://github.com/Pulse-Eight/platform.git') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir"/libplatform + git describe --tags +} + +build() { + cd "$srcdir"/libplatform + cmake . \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DCMAKE_INSTALL_LIBDIR_NOARCH=/usr/lib + make +} + +package() { + cd "$srcdir"/libplatform + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: