# $Id: PKGBUILD 73164 2012-07-02 16:36:19Z idevolder $ # Maintainer: BlackIkeEagle # Contributor: Philippe Cherel pkgname=libcec pkgver=1.7.1 pkgrel=1 pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter" arch=('i686' 'x86_64') url="https://github.com/Pulse-Eight/libcec" license=('GPL') depends=('udev' 'lockdev') source=("$pkgname-$pkgver.tar.gz::https://github.com/Pulse-Eight/libcec/tarball/$pkgname-$pkgver") _srcfolder=Pulse-Eight-libcec-cd67a27 sha256sums=('a560a792376bce73526f32ede89985b923d899cdf2f739be99e466b322b3211d') options=(!libtool) build() { mv "$_srcfolder" "$pkgname-$pkgver" cd "$pkgname-$pkgver" autoreconf -vif ./configure --prefix=/usr make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install }