summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Tran2016-09-20 21:56:07 +1000
committerVictor Tran2016-09-20 21:56:07 +1000
commitee7f4c3163978ae07c353a77429443350c2162b1 (patch)
tree40fe0f384a4a5ef6d46a17e9e5f6b7a37e2a1c3e
downloadaur-ee7f4c3163978ae07c353a77429443350c2162b1.tar.gz
Initial Commit
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD37
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..52ce396546f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = theweb
+ pkgdesc = Web Browser based on CEF and Qt
+ pkgver = 15.0
+ pkgrel = 0
+ url = https://github.com/vicr123/theweb
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ makedepends = clang
+ depends = kwidgetsaddons
+ depends = xdg-utils
+ depends = qtchooser
+ depends = qt5-base
+ source = theweb-15.0::git+https://github.com/vicr123/theweb#branch=master
+ source = http://opensource.spotify.com/cefbuilds/cef_binary_3.2704.1434.gec3e9ed_linux64_minimal.tar.bz2
+ md5sums = SKIP
+ md5sums = SKIP
+
+pkgname = theweb
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0d303fff383
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+
+# Maintainer: Victor Tran <vicr12345 at gmail dot com>
+pkgname=theweb
+pkgver=15.0
+pkgrel=0
+pkgdesc="Web Browser based on CEF and Qt"
+arch=("x86_64")
+url="https://github.com/vicr123/theweb"
+license=('GPL3')
+depends=('kwidgetsaddons' 'xdg-utils' 'qtchooser' 'qt5-base')
+makedepends=('git' 'clang')
+source=("$pkgname-$pkgver"::'git+https://github.com/vicr123/theweb#branch=master'
+ "http://opensource.spotify.com/cefbuilds/cef_binary_3.2704.1434.gec3e9ed_linux64_minimal.tar.bz2")
+md5sums=('SKIP'
+ 'SKIP')
+
+build() {
+ cp "cef_binary_3.2704.1434.gec3e9ed_linux64_minimal/Release/libcef.so" "$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
+ qmake
+ make
+}
+
+package() {
+ mkdir -p "$pkgdir/opt/theWeb"
+ cp "$pkgname-$pkgver/theweb" "$pkgdir/opt/theWeb"
+ cp -r "cef_binary_3.2704.1434.gec3e9ed_linux64_minimal/Release/"* "$pkgdir/opt/theWeb"
+ cp -r "cef_binary_3.2704.1434.gec3e9ed_linux64_minimal/Resources/"* "$pkgdir/opt/theWeb"
+ cp "$pkgname-$pkgver/libcef_dll_wrapper.a" "$pkgdir/opt/theWeb"
+ chmod 4755 "$pkgdir/opt/theWeb/chrome-sandbox"
+ mkdir -p "$pkgdir/usr/share/applications"
+ cp "$pkgname-$pkgver/theweb.desktop" "$pkgdir/usr/share/applications"
+ mkdir -p "$pkgdir/usr/bin/"
+ cp "$pkgname-$pkgver/theweb-execscript" "$pkgdir/usr/bin/theweb"
+ mkdir -p "$pkgdir/usr/share/icons"
+ cp "$pkgname-$pkgver/icon.svg" "$pkgdir/usr/share/icons/theweb.svg"
+}