new PKGBUILD : libplatform-git (required for libcec-git)
This commit is contained in:
parent
8efe7d3f74
commit
81dd0f4fd9
1 changed files with 35 additions and 0 deletions
35
pkgbuild/libplatform-git/PKGBUILD
Normal file
35
pkgbuild/libplatform-git/PKGBUILD
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||||
|
|
||||||
|
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:
|
Loading…
Reference in a new issue