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:   "???"
This commit is contained in:
Gabriel Ebner 2021-09-21 10:30:26 +02:00
parent d48cf06a13
commit e5c3afb1dd
3 changed files with 66 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,36 @@
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
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
}