summaryrefslogtreecommitdiffstats
path: root/abs/core/libcec/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 14:43:23 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 14:43:23 (GMT)
commit4ebac1c252903f0444bf29104ea4fe0393897ce5 (patch)
treea5b235f2760ac9a3f4d50be9ddaf461fe5c0bbf4 /abs/core/libcec/PKGBUILD
parent1da734bf150b0b1ae9e9ee9b46bcb7d2bdc4b13d (diff)
downloadlinhes_pkgbuild-4ebac1c252903f0444bf29104ea4fe0393897ce5.zip
linhes_pkgbuild-4ebac1c252903f0444bf29104ea4fe0393897ce5.tar.gz
linhes_pkgbuild-4ebac1c252903f0444bf29104ea4fe0393897ce5.tar.bz2
libcec 1.8.0
Diffstat (limited to 'abs/core/libcec/PKGBUILD')
-rw-r--r--abs/core/libcec/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/abs/core/libcec/PKGBUILD b/abs/core/libcec/PKGBUILD
new file mode 100644
index 0000000..be742f5
--- /dev/null
+++ b/abs/core/libcec/PKGBUILD
@@ -0,0 +1,26 @@
+pkgname=libcec
+pkgver=1.8.0
+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-b0a5e4f
+sha256sums=('3725d19cabec4bbd4142fd735bda43d33aad2a4a62b20ef337f395b549e7adec')
+options=(!libtool)
+
+build() {
+ mv "$_srcfolder" "$pkgname-$pkgver"
+
+ cd "$pkgname-$pkgver"
+ autoreconf -vif
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}