diff options
author | Markus Hovorka | 2017-01-30 15:24:26 +0100 |
---|---|---|
committer | Markus Hovorka | 2017-01-30 15:24:26 +0100 |
commit | c867c1174a31afeee38f338f6a1066d58ce48fb9 (patch) | |
tree | c186a404a7cf792e21ddb20fa55b26cf93000c18 | |
download | aur-c867c1174a31afeee38f338f6a1066d58ce48fb9.tar.gz |
Add PKGBUILD and .SRCINFO
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | PKGBUILD | 43 |
2 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9034cf32b327 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,25 @@ +pkgbase = qt5.6-webkit + pkgdesc = Classes for a WebKit2 based implementation and a new QML API + pkgver = 5.6.1 + pkgrel = 1 + url = http://qt-project.org/ + arch = i686 + arch = x86_64 + license = GPL3 + license = LGPL + license = FDL + license = custom + makedepends = ruby + makedepends = gperf + makedepends = python2 + depends = qt5.6 + depends = libwebp + depends = libxslt + depends = libxcomposite + depends = gst-plugins-base + optdepends = gst-plugins-good: Webm codec support + source = http://download.qt.io/community_releases/5.6/5.6.1/qtwebkit-opensource-src-5.6.1.tar.xz + md5sums = 9ea7cb557375ba2fc7c62742c522d093 + +pkgname = qt5.6-webkit + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4338139d3494 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Markus Hovorka <m.hovorka@live.de> +# Contributor: Felix Yan <felixonmars@archlinux.org> +# Contributor: Andrea Scarpino <andrea@archlinux.org> + +pkgname=qt5.6-webkit +pkgver=5.6.1 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://qt-project.org/' +license=('GPL3' 'LGPL' 'FDL' 'custom') +pkgdesc='Classes for a WebKit2 based implementation and a new QML API' +depends=('qt5.6' 'libwebp' 'libxslt' 'libxcomposite' 'gst-plugins-base') +makedepends=('ruby' 'gperf' 'python2') +optdepends=('gst-plugins-good: Webm codec support') +_tarname="qtwebkit-opensource-src-${pkgver}" +source=("http://download.qt.io/community_releases/${pkgver%.*}/${pkgver}/${_tarname}.tar.xz") +md5sums=('9ea7cb557375ba2fc7c62742c522d093') + +_qmake="/opt/qt${pkgver%.*}/bin/qmake" + +prepare() { + cd ${_tarname} + + # Workaround for build-time python calls + mkdir -p "${srcdir}"/python2-path + ln -sf /usr/bin/python2 "${srcdir}"/python2-path/python + export PATH="${srcdir}/python2-path:$PATH" +} + +build() { + cd ${_tarname} + + ${_qmake} + make +} + +package() { + cd ${_tarname} + make INSTALL_ROOT="$pkgdir" install + + install -d "$pkgdir"/usr/share/licenses + ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname} +} |