[arch-commits] Commit in libcec/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 23:16:38 UTC 2018


    Date: Friday, November 9, 2018 @ 23:16:37
  Author: felixonmars
Revision: 405225

archrelease: copy trunk to community-staging-x86_64

Added:
  libcec/repos/community-staging-x86_64/
  libcec/repos/community-staging-x86_64/PKGBUILD
    (from rev 405223, libcec/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: libcec/repos/community-staging-x86_64/PKGBUILD (from rev 405223, libcec/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 23:16:37 UTC (rev 405225)
@@ -0,0 +1,33 @@
+# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
+# Contributor: Philippe Cherel <philippe.cherel at mayenne.org>
+# vim: ft=sh:
+
+pkgname=libcec
+pkgver=4.0.2
+pkgrel=2
+pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter"
+arch=('x86_64')
+url="http://libcec.pulse-eight.com/"
+license=('GPL')
+makedepends=('cmake')
+depends=('udev' 'lockdev' 'p8-platform' 'libxrandr')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Pulse-Eight/$pkgname/archive/$pkgname-$pkgver.tar.gz")
+sha256sums=('b8b8dd31f3ebdd5472f03ab7d401600ea0d959b1288b9ca24bf457ef60e2ba27')
+
+build() {
+    cd "$pkgname-$pkgname-$pkgver"
+    mkdir build
+    cd build
+    cmake .. \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DBUILD_SHARED_LIBS=1 \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+        -DCMAKE_INSTALL_LIBDIR_NOARCH=/usr/lib
+    make
+}
+
+package() {
+    cd "$pkgname-$pkgname-$pkgver/build"
+    make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list