# $Id$ # Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com> # Contributor: Philippe Cherel <philippe.cherel@mayenne.org> # vim: ft=sh: pkgname=libcec pkgver=3.0.1 pkgrel=1 pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter" arch=('i686' 'x86_64') url="http://libcec.pulse-eight.com/" license=('GPL') makedepends=('cmake') depends=('udev' 'lockdev' 'libplatform' 'libxrandr') source=("$pkgname-$pkgver.tar.gz::https://github.com/Pulse-Eight/$pkgname/archive/$pkgname-$pkgver.tar.gz") sha256sums=('7e3670c8949a1964d6e5481f56dfff838857da10bdc60b506f6e9b7f117e253e') build() { cd "$pkgname-$pkgname-$pkgver" mkdir build cd build 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/build" make DESTDIR="$pkgdir" install }