mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 20:37:15 +08:00
33 lines
845 B
Bash
33 lines
845 B
Bash
#
|
|
# Part of chakraos.org
|
|
#
|
|
# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
|
|
|
|
pkgname=libcec
|
|
pkgver=3.1.0
|
|
pkgrel=1
|
|
pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter"
|
|
arch=('x86_64')
|
|
url="http://libcec.pulse-eight.com/"
|
|
license=('GPL')
|
|
depends=('lockdev' 'p8-platform' 'udev')
|
|
makedepends=('cmake')
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/Pulse-Eight/$pkgname/archive/$pkgname-$pkgver.tar.gz")
|
|
sha256sums=('09109d21a1b03f42c9e341d12600f2e4c41038d640269fa75408e2d36126f921')
|
|
|
|
build() {
|
|
cd "$pkgname-$pkgname-$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 "$pkgname-$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|