summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAdrian Perez de Castro2019-09-21 00:51:21 +0300
committerAdrian Perez de Castro2019-09-21 00:51:21 +0300
commit88dba96a0dd1f281caf2c347239c712eb7fa36c7 (patch)
tree4ce63cc789f96c0be964a2dd1ec5073b9cbf3d24 /PKGBUILD
parentfd7796125c070ce8d85bc0fc691010e5a2622766 (diff)
downloadaur-88dba96a0dd1f281caf2c347239c712eb7fa36c7.tar.gz
Bump to version 0.4.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 11 insertions, 17 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b05f7d6654b..6a5ac5decf0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,38 +1,32 @@
# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
pkgdesc='WPE launcher and webapp container'
pkgname=cog
-pkgver=0.3.0
+pkgver=0.4.0
pkgrel=0
url=https://github.com/Igalia/cog
arch=(i686 x86_64 aarch64)
groups=(wpe)
conflicts=(cog-git)
-depends=('wpewebkit>=2.24.0' 'wpebackend-fdo>=1.2.0')
+depends=('wpewebkit>=2.26.0' 'wpebackend-fdo>=1.4.0')
makedepends=(cmake)
license=(custom:MIT)
-source=("${url}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz"
- "${url}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz.asc")
+source=("https://wpewebkit.org/releases/releases/${pkgname}-${pkgver}.tar.xz"
+ "https://wpewebkit.org/releases/releases/${pkgname}-${pkgver}.tar.xz.asc")
validpgpkeys=('5AA3BC334FD7E3369E7C77B291C559DBE4C9123B')
-md5sums=('4a144065ee8f1f86b2aa686f3e1bf382' 'SKIP')
-sha1sums=('6df3af04dfadf4b7dfd09a4230480017a30123e1' 'SKIP')
-sha256sums=('6f063c133ad65d153dad08f4f8d912539bfd8fe4ff174a8e3ff34dd80b34330f' 'SKIP')
-
-prepare () {
- mkdir -p _build
-}
+md5sums=('75a0838ee6c81bb8df1b254f525440a6' 'SKIP')
+sha1sums=('284d2a641e6269b296057918602c8c94eb831527' 'SKIP')
+sha256sums=('e9c13a51232434b7340a419b1e6f59c40c582cd80c8e60bd9ec7de16c904fc03' 'SKIP')
build () {
- cd _build
- cmake \
+ cmake -H"${pkgname}-${pkgver}" -Bbuild
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=/usr/lib \
- "../${pkgname}-${pkgver}"
- cmake --build .
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib
+ cmake --build build
}
package () {
- DESTDIR="${pkgdir}" cmake --build _build --target install
+ DESTDIR="${pkgdir}" cmake --build build --target install
install -Dm644 "${pkgname}-${pkgver}/COPYING" \
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"