From e5c3afb1ddc6d312772ef9588547e8cc3c608557 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Tue, 21 Sep 2021 10:30:26 +0200 Subject: [PATCH] git subrepo clone --branch=master https://aur.archlinux.org/chrome-gnome-shell.git subrepo: subdir: "chrome-gnome-shell" merged: "a66f066" upstream: origin: "https://aur.archlinux.org/chrome-gnome-shell.git" branch: "master" commit: "a66f066" git-subrepo: version: "0.4.3" origin: "???" commit: "???" --- chrome-gnome-shell/.SRCINFO | 18 ++++++++++++++++++ chrome-gnome-shell/.gitrepo | 12 ++++++++++++ chrome-gnome-shell/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 chrome-gnome-shell/.SRCINFO create mode 100644 chrome-gnome-shell/.gitrepo create mode 100644 chrome-gnome-shell/PKGBUILD diff --git a/chrome-gnome-shell/.SRCINFO b/chrome-gnome-shell/.SRCINFO new file mode 100644 index 0000000..43a2702 --- /dev/null +++ b/chrome-gnome-shell/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = chrome-gnome-shell + pkgdesc = Native browser connector for integration with extensions.gnome.org + pkgver = 10.1 + pkgrel = 5 + url = https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome + arch = any + license = GPL + makedepends = cmake + makedepends = jq + makedepends = git + depends = gnome-shell + depends = python-requests + depends = python-gobject + source = git+https://git.gnome.org/browse/chrome-gnome-shell#commit=815ec9e1afa52bd3af5047e176a4ea9c1bfa2514 + md5sums = SKIP + +pkgname = chrome-gnome-shell + diff --git a/chrome-gnome-shell/.gitrepo b/chrome-gnome-shell/.gitrepo new file mode 100644 index 0000000..03afec9 --- /dev/null +++ b/chrome-gnome-shell/.gitrepo @@ -0,0 +1,12 @@ +; DO NOT EDIT (unless you know what you are doing) +; +; This subdirectory is a git "subrepo", and this file is maintained by the +; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme +; +[subrepo] + remote = https://aur.archlinux.org/chrome-gnome-shell.git + branch = master + commit = a66f066c11a8d8bfe4d8914015c800594ddf3859 + parent = d48cf06a13c9b523c67b33ea13158d38324f33f6 + method = merge + cmdver = 0.4.3 diff --git a/chrome-gnome-shell/PKGBUILD b/chrome-gnome-shell/PKGBUILD new file mode 100644 index 0000000..4dd80ce --- /dev/null +++ b/chrome-gnome-shell/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Bartłomiej Piotrowski + +pkgname=chrome-gnome-shell +pkgver=10.1 +pkgrel=5 +pkgdesc='Native browser connector for integration with extensions.gnome.org' +arch=(any) +url='https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome' +license=(GPL) +depends=(gnome-shell python-requests python-gobject) +makedepends=(cmake jq git) +_commit=815ec9e1afa52bd3af5047e176a4ea9c1bfa2514 # tags/v10.1^0 +source=(git+https://git.gnome.org/browse/chrome-gnome-shell#commit=$_commit) +md5sums=('SKIP') + +pkgver() { + cd $pkgname + git describe | sed 's/^v//;s/-/+/g' +} + +prepare() { + cd $pkgname + mkdir -p build +} + +build() { + cd $pkgname/build + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_EXTENSION=OFF +} + +package() { + make -C $pkgname/build DESTDIR="$pkgdir" install +}