summaryrefslogtreecommitdiff
path: root/community-staging/libcec
diff options
context:
space:
mode:
Diffstat (limited to 'community-staging/libcec')
-rw-r--r--community-staging/libcec/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community-staging/libcec/PKGBUILD b/community-staging/libcec/PKGBUILD
new file mode 100644
index 000000000..4c501c681
--- /dev/null
+++ b/community-staging/libcec/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 71308 2012-05-26 14:17:38Z idevolder $
+# 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
+}