[arch-commits] Commit in qcef/repos (community-x86_64 community-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Jan 5 11:14:28 UTC 2018


    Date: Friday, January 5, 2018 @ 11:14:25
  Author: felixonmars
Revision: 278940

archrelease: copy trunk to community-x86_64

Added:
  qcef/repos/community-x86_64/
  qcef/repos/community-x86_64/PKGBUILD
    (from rev 278939, qcef/trunk/PKGBUILD)

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

Copied: qcef/repos/community-x86_64/PKGBUILD (from rev 278939, qcef/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-01-05 11:14:25 UTC (rev 278940)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=qcef
+pkgver=1.1.3
+pkgrel=1
+pkgdesc="Qt5 binding of CEF"
+arch=('x86_64')
+url="https://github.com/linuxdeepin/qcef"
+license=('GPL')
+depends=('qt5-webchannel' 'qt5-x11extras')
+makedepends=('cmake' 'qt5-tools')
+source=("$pkgname-$pkgver.tar.bz2::https://github.com/linuxdeepin/qcef/archive/$pkgver.tar.gz")
+sha512sums=('a0e2275c6520c15822b08b133e773599c6f3fe3647bc1e5c5ad4e05d26d215980001a2d8445fe55d69a831d5b55c254f4feed27aa9275cac1727a1ca160c5b77')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ../qcef-$pkgver
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  chmod +s "$pkgdir"/usr/lib/qcef/chrome-sandbox
+  rm -rf "$pkgdir"/build
+}



More information about the arch-commits mailing list