libplatform first package version
This commit is contained in:
parent
075426504d
commit
0dbbfa65c1
2 changed files with 46 additions and 0 deletions
15
pkgbuild/libplatform/.SRCINFO
Normal file
15
pkgbuild/libplatform/.SRCINFO
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
pkgbase = libplatform
|
||||||
|
pkgdesc = Platform support library used by libCEC and binary add-ons for Kodi
|
||||||
|
pkgver = 1.0.9
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/Pulse-Eight/platform
|
||||||
|
arch = i686
|
||||||
|
arch = x86_64
|
||||||
|
license = GPL
|
||||||
|
provides = libplatform
|
||||||
|
conflicts = libplatform
|
||||||
|
source = https://github.com/Pulse-Eight/platform/archive/1.0.9.tar.gz
|
||||||
|
md5sums = c6273248bf3e5736bb84748881415788
|
||||||
|
|
||||||
|
pkgname = libplatform
|
||||||
|
|
31
pkgbuild/libplatform/PKGBUILD
Normal file
31
pkgbuild/libplatform/PKGBUILD
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||||
|
|
||||||
|
pkgname=libplatform
|
||||||
|
pkgver=1.0.9
|
||||||
|
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')
|
||||||
|
provides=('libplatform')
|
||||||
|
conflicts=('libplatform')
|
||||||
|
source=(https://github.com/Pulse-Eight/platform/archive/${pkgver}.tar.gz)
|
||||||
|
md5sums=('c6273248bf3e5736bb84748881415788')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir"/platform-${pkgver}
|
||||||
|
cmake . \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DBUILD_SHARED_LIBS=1 \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
||||||
|
-DCMAKE_INSTALL_LIBDIR_NOARCH=/usr/lib
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir"/platform-${pkgver}
|
||||||
|
make DESTDIR="$pkgdir/" install
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
Loading…
Reference in a new issue