summaryrefslogtreecommitdiff
path: root/community-testing/libcec/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/libcec/PKGBUILD')
-rw-r--r--community-testing/libcec/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community-testing/libcec/PKGBUILD b/community-testing/libcec/PKGBUILD
new file mode 100644
index 000000000..450194bda
--- /dev/null
+++ b/community-testing/libcec/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 71492 2012-05-27 13:14:39Z dreisner $
+# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
+# Contributor: Philippe Cherel <philippe.cherel@mayenne.org>
+
+pkgname=libcec
+pkgver=1.6.3
+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-ab37938
+sha256sums=('964fb7ad2281b44dacddd57e5cfc16750271492cbbf48291ee487644d69bcb61')
+options=(!libtool)
+
+build() {
+ mv "$_srcfolder" "$pkgname-$pkgver"
+
+ cd "$pkgname-$pkgver"
+ autoreconf -vif
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}