summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Perez de Castro2019-01-05 23:57:14 +0200
committerAdrian Perez de Castro2019-01-05 23:57:14 +0200
commit102dd88b42f19053712ef649c6442f88c2744cd0 (patch)
tree969efb7a08999362db7607e771657710438a578a
downloadaur-102dd88b42f19053712ef649c6442f88c2744cd0.tar.gz
Initial import of version 0.2.0
-rw-r--r--.SRCINFO23
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD37
3 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b2c531b5ad4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = cog
+ pkgdesc = WPE launcher and webapp container
+ pkgver = 0.2.0
+ pkgrel = 1
+ url = https://github.com/Igalia/cog
+ arch = i686
+ arch = x86_64
+ license = custom:MIT
+ makedepends = cmake
+ depends = wpewebkit>=2.22.0
+ depends = wpebackend-fdo>=1.0.0
+ source = https://github.com/Igalia/cog/releases/download/v0.2.0/cog-0.2.0.tar.xz
+ source = https://github.com/Igalia/cog/releases/download/v0.2.0/cog-0.2.0.tar.xz.asc
+ validpgpkeys = 5AA3BC334FD7E3369E7C77B291C559DBE4C9123B
+ md5sums = 2fcb68ae8d52bb4212f9e24724b83f33
+ md5sums = SKIP
+ sha1sums = 0b34082282abff0563922f3b1c3621f0f0706ac1
+ sha1sums = SKIP
+ sha256sums = 206302966c6019260f5a7a20b4c6afbd4ce77530f7b9cd638fafeed07e47cada
+ sha256sums = SKIP
+
+pkgname = cog
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..5db79a8263e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/pkg/
+/src/
+/*.tar
+/*.tar.*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2cf890c362e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
+pkgdesc='WPE launcher and webapp container'
+pkgname=cog
+pkgver=0.2.0
+pkgrel=1
+url=https://github.com/Igalia/cog
+arch=(i686 x86_64)
+depends=('wpewebkit>=2.22.0' 'wpebackend-fdo>=1.0.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")
+validpgpkeys=('5AA3BC334FD7E3369E7C77B291C559DBE4C9123B')
+md5sums=('2fcb68ae8d52bb4212f9e24724b83f33' 'SKIP')
+sha1sums=('0b34082282abff0563922f3b1c3621f0f0706ac1' 'SKIP')
+sha256sums=('206302966c6019260f5a7a20b4c6afbd4ce77530f7b9cd638fafeed07e47cada' 'SKIP')
+
+prepare () {
+ mkdir -p _build
+}
+
+build () {
+ cd _build
+ cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ "../${pkgname}-${pkgver}"
+ cmake --build .
+}
+
+package () {
+ DESTDIR="${pkgdir}" cmake --build _build --target install
+
+ install -Dm644 "${pkgname}-${pkgver}/COPYING" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}