diff options
author | Adrian Perez de Castro | 2018-07-14 15:19:57 +0300 |
---|---|---|
committer | Adrian Perez de Castro | 2018-07-14 15:19:57 +0300 |
commit | 87021faf9184fc698d1cb0e022fe89a4bb1603cc (patch) | |
tree | 61e7358ca4b87ebc63e987bace510e0737096c87 | |
download | aur-87021faf9184fc698d1cb0e022fe89a4bb1603cc.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 28 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 41 |
3 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a1129da15e76 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,28 @@ +pkgbase = wpewebkit + pkgdesc = Web content engine library optimized for embedded devices + pkgver = 2.20.1 + pkgrel = 1 + url = https://wpewebkit.org + arch = x86_64 + arch = i686 + license = custom + makedepends = gperf + makedepends = ruby + makedepends = cmake + makedepends = python2 + depends = cairo + depends = libxslt + depends = gst-plugins-base-libs + depends = libepoxy + depends = libsoup + depends = libwebp + depends = harfbuzz-icu + depends = woff2 + depends = wpebackend + source = https://wpewebkit.org/releases/wpewebkit-2.20.1.tar.xz + md5sums = 5e86ebd54bf49ff611f5623963362722 + sha1sums = c23c6b416639b8b41819bf73580a3d37ca6500ac + sha256sums = 42dfcc1090cf37a817e23beb7402a753a69c891d7581ac69d733e39312d1e68a + +pkgname = wpewebkit + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..5db79a8263ea --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/pkg/ +/src/ +/*.tar +/*.tar.* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..76f798eec019 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Adrian Perez de Castro <aperez@igalia.com> +pkgname=wpewebkit +pkgver=2.20.1 +pkgrel=1 +pkgdesc='Web content engine library optimized for embedded devices' +arch=(x86_64 i686) +url='https://wpewebkit.org' +license=(custom) +depends=(cairo libxslt gst-plugins-base-libs libepoxy libsoup libwebp + harfbuzz-icu woff2 wpebackend) +makedepends=(gperf ruby cmake python2) +source=("${url}/releases/${pkgname}-${pkgver}.tar.xz") +md5sums=(5e86ebd54bf49ff611f5623963362722) +sha1sums=(c23c6b416639b8b41819bf73580a3d37ca6500ac) +sha256sums=(42dfcc1090cf37a817e23beb7402a753a69c891d7581ac69d733e39312d1e68a) + +prepare () { + mkdir -p _build +} + +build () { + cd _build + cmake -GNinja -DPORT=WPE \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DPYTHON_EXECUTABLE=/usr/bin/python2 \ + "../${pkgname}-${pkgver}" + cmake --build . +} + +package () { + DESTDIR="${pkgdir}" cmake --build _build --target install + + cd "${pkgname}-${pkgver}" + local _f + while IFS= read -d $'\0' -r _f ; do + echo "### ${_f} ###" ; cat "${_f}" ; echo + done < <(find Source -name COPYING -or -name 'LICENSE*' -print0 | sort -zu) | + install -Dm644 /dev/stdin "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |