summaryrefslogtreecommitdiff
path: root/community/libcec/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libcec/PKGBUILD')
-rw-r--r--community/libcec/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/libcec/PKGBUILD b/community/libcec/PKGBUILD
new file mode 100644
index 000000000..6a2af7230
--- /dev/null
+++ b/community/libcec/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 68568 2012-03-28 10:28:32Z idevolder $
+# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
+# Contributor: Philippe Cherel <philippe.cherel@mayenne.org>
+
+pkgname=libcec
+pkgver=1.5.2
+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')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Pulse-Eight/libcec/tarball/$pkgname-$pkgver")
+_srcfolder=Pulse-Eight-libcec-00a02d1
+sha256sums=('93990024d01da7c66e2c78ca23919fd83137f6b944a2dc82fb5cc6d58a46742f')
+options=(!libtool)
+
+build() {
+ mv "$_srcfolder" "$pkgname-$pkgver"
+
+ cd "$pkgname-$pkgver"
+ autoreconf -vif
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}