mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
28 lines
756 B
Bash
28 lines
756 B
Bash
pkgname=p8-platform
|
|
pkgver=2.0.1
|
|
pkgrel=1
|
|
pkgdesc="Platform support library used by libCEC and binary add-ons for Kodi"
|
|
arch=('x86_64')
|
|
url="https://github.com/Pulse-Eight/platform"
|
|
license=('GPL')
|
|
makedepends=('cmake')
|
|
depends=('gcc-libs')
|
|
source=(https://github.com/Pulse-Eight/platform/archive/p8-platform-${pkgver}.tar.gz)
|
|
sha256sums=('e97e45273e90571aa37732cde913b262f5f519c387083645d2557d7189c054cf')
|
|
|
|
build() {
|
|
cd "$srcdir"/platform-p8-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-p8-platform-${pkgver}
|
|
make DESTDIR="$pkgdir/" install
|
|
}
|