diff options
author | NexAdn | 2017-10-27 13:27:24 +0200 |
---|---|---|
committer | NexAdn | 2017-10-27 13:27:24 +0200 |
commit | aa15f6dc2562b8482eb0c26367497c0da1ae7834 (patch) | |
tree | dcbeff3cd772b61bd18cfe485f7d658e464d15ec | |
download | aur-aa15f6dc2562b8482eb0c26367497c0da1ae7834.tar.gz |
Initial commit.
Signed-off-by: NexAdn <nexadn@yandex.com>
-rwxr-xr-x | .SRCINFO | 31 | ||||
-rwxr-xr-x | PKGBUILD | 36 |
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100755 index 000000000000..0465a7064655 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,31 @@ +pkgbase = cef-standard + pkgdesc = Chromium Embedded Framework standard release + pkgver = 3.3202 + pkgrel = 1 + url = https://bitbucket.org/chromiumembedded/cef + arch = i686 + arch = x86_64 + license = BSD + makedepends = cmake + makedepends = make + depends = nss + depends = alsa-lib + depends = atk + depends = gconf + depends = pango + depends = libxrandr + depends = libxcursor + depends = libxss + depends = libxtst + depends = libxcomposite + depends = gtk2 + provides = cef + provides = cef-minimal + conflicts = cef-minimal + source_i686 = http://opensource.spotify.com/cefbuilds/cef_binary_3.3202.1674.g2a991c4_linux32.tar.bz2 + sha1sums_i686 = 08d109c2bc88a2cbce0a62ebde46c9bf263c4455 + source_x86_64 = http://opensource.spotify.com/cefbuilds/cef_binary_3.3202.1674.g2a991c4_linux64.tar.bz2 + sha1sums_x86_64 = 29b0149c218a08c28645faccf404a5507311a21d + +pkgname = cef-standard + diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..645f3bd59711 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: NexAdn <nexadn@yandex.com> +pkgname=cef-standard +pkgver=3.3202 +_subver_i686=1674.g2a991c4 +_subver_x86_64=${_subver_i686} +pkgrel=1 +pkgdesc="Chromium Embedded Framework standard release" +arch=("i686" "x86_64") +url="https://bitbucket.org/chromiumembedded/cef" +license=("BSD") +depends=("nss" "alsa-lib" "atk" "gconf" "pango" "libxrandr" "libxcursor" "libxss" "libxtst" "libxcomposite" "gtk2") +makedepends=("cmake" "make") +provides=("cef" "cef-minimal") +conflicts=("cef-minimal") +source_i686=( + "http://opensource.spotify.com/cefbuilds/cef_binary_${pkgver}.${_subver_i686}_linux32.tar.bz2" +) +source_x86_64=( + "http://opensource.spotify.com/cefbuilds/cef_binary_${pkgver}.${_subver_x86_64}_linux64.tar.bz2" +) +sha1sums_i686=('08d109c2bc88a2cbce0a62ebde46c9bf263c4455') +sha1sums_x86_64=('29b0149c218a08c28645faccf404a5507311a21d') +[[ "$CARCH" = "i686" ]] && _arch="32" && _subver=$_subver_i686 +[[ "$CARCH" = "x86_64" ]] && _arch="64" && _subver=$_subver_x86_64 +build() { + cd "$srcdir"/cef_binary_${pkgver}.${_subver}_linux${_arch} + sed '/^add_subdirectory[\(]tests[\/].*/d' -i CMakeLists.txt + cmake . + make clean + make -j4 libcef_dll_wrapper +} +package() { + install -dm755 "$pkgdir"/opt/cef/ + cp -R "$srcdir"/cef_binary_${pkgver}.${_subver}_linux${_arch}/* "$pkgdir"/opt/cef/ + install -Dm644 "$srcdir"/cef_binary_${pkgver}.${_subver}_linux${_arch}/LICENSE.txt "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE +} |