summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Weber2016-07-19 23:20:52 +0200
committerSteffen Weber2016-07-19 23:20:52 +0200
commit5d8ab2a56d610c8185d8390760f52808d3e4a370 (patch)
tree56ab493a5cd03f901b2219d89c3448ef882f5caa
parentb504b65f88b5d79ee219e505e194854fc80b4b7e (diff)
downloadaur-5d8ab2a56d610c8185d8390760f52808d3e4a370.tar.gz
Include desktop-file, dependency-fixes
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD18
-rw-r--r--qtwebbrowser.desktop9
3 files changed, 26 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8740b08846e..21ffacabb9a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,22 @@
# Generated by mksrcinfo v8
-# Tue Jul 19 17:51:33 UTC 2016
+# Tue Jul 19 21:20:03 UTC 2016
pkgbase = qtwebbrowser
pkgdesc = Browser for embedded devices developed using the capabilities of Qt and Qt WebEngine
pkgver = 1.0
- pkgrel = 1
+ pkgrel = 2
url = http://doc.qt.io/QtWebBrowser
arch = i686
arch = x86_64
license = GPL3
- makedepends = cmake
makedepends = git
- makedepends = qt5-webengine
+ depends = qt5-webengine
depends = qt5-virtualkeyboard
depends = qt5-quickcontrols
depends = qt5-graphicaleffects
- source = qtwebbrowser-1.0::git://code.qt.io/qt-apps/qtwebbrowser.git#tag=v1.0
+ source = git://code.qt.io/qt-apps/qtwebbrowser.git#tag=v1.0
+ source = qtwebbrowser.desktop
md5sums = SKIP
+ md5sums = b1fde5cdcb9b7160398a78ecd8d70bf5
pkgname = qtwebbrowser
diff --git a/PKGBUILD b/PKGBUILD
index f951ec5e61a..3b953b9ee30 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,23 +2,27 @@
pkgname=qtwebbrowser
pkgver=1.0
-pkgrel=1
+pkgrel=2
pkgdesc="Browser for embedded devices developed using the capabilities of Qt and Qt WebEngine"
arch=('i686' 'x86_64')
url="http://doc.qt.io/QtWebBrowser"
license=('GPL3')
-makedepends=('cmake' 'git' 'qt5-webengine')
-depends=('qt5-virtualkeyboard' 'qt5-quickcontrols' 'qt5-graphicaleffects')
-source=($pkgname-$pkgver::git://code.qt.io/qt-apps/$pkgname.git#tag=v$pkgver)
-md5sums=('SKIP')
+makedepends=('git')
+depends=('qt5-webengine' 'qt5-virtualkeyboard' 'qt5-quickcontrols' 'qt5-graphicaleffects')
+source=(git://code.qt.io/qt-apps/$pkgname.git#tag=v$pkgver $pkgname.desktop)
+md5sums=('SKIP'
+ 'b1fde5cdcb9b7160398a78ecd8d70bf5')
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
qmake-qt5 $pkgname.pro
make
}
package() {
- cd $pkgname-$pkgver/src
+ cd $pkgname/src
install -Dm755 $pkgname $pkgdir/usr/bin/$pkgname
+
+ install -Dm644 qml/assets/icons/AppLogoColor.png $pkgdir/usr/share/pixmaps/$pkgname.png
+ install -Dm644 $srcdir/$pkgname.desktop /$pkgdir/usr/share/applications/$pkgname.desktop
}
diff --git a/qtwebbrowser.desktop b/qtwebbrowser.desktop
new file mode 100644
index 00000000000..21d7e7f700b
--- /dev/null
+++ b/qtwebbrowser.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=qtwebbrowser
+Icon=qtwebbrowser
+Type=Application
+Categories=Network;WebBrowser;
+Exec=qtwebbrowser
+Terminal=false
+StartupNotify=false
+MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;