diff options
author | Andrew Querol | 2016-02-27 16:49:35 -0600 |
---|---|---|
committer | Andrew Querol | 2016-02-27 16:49:35 -0600 |
commit | 8a8c2ed5f25f3c9629d7d3311885199d79516514 (patch) | |
tree | 845a9a7916b2c29c896021488c377fcb0dac83a0 | |
download | aur-8a8c2ed5f25f3c9629d7d3311885199d79516514.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..eb8c9ae01219 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +# Generated by makepkg 5.0.1 +# Sat Feb 27 22:45:47 UTC 2016 +pkgbase = chrome-gnome-shell-git + pkgdesc = Native connector for extensions.gnome.org using chrome-gnome-shell + pkgver = 5.1_118.ad397d6 + pkgrel = 1 + url = https://git.gnome.org/browse/chrome-gnome-shell + arch = any + license = GPL + makedepends = git + makedepends = cmake + depends = gnome-shell + depends = python2 + provides = chrome-gnome-shell + conflicts = gs-chrome-connector + replaces = gs-chrome-connector + source = chrome-gnome-shell::git+https://git.gnome.org/browse/chrome-gnome-shell + md5sums = SKIP + +pkgname = chrome-gnome-shell-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4c8b48e7f52a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Andrew Querol <andrew@querol.me> + +pkgname=chrome-gnome-shell-git +pkgver=5.1_118.ad397d6 +pkgrel=1 +pkgdesc="Native connector for extensions.gnome.org using chrome-gnome-shell" +arch=('any') +url="https://git.gnome.org/browse/chrome-gnome-shell" +license=('GPL') +depends=('gnome-shell' 'python2') +makedepends=('git' 'cmake') +provides=("${pkgname%-git}") +replaces=('gs-chrome-connector') # Old name, renamed at request of the maintainer +conflicts=($replaces) +source=("${pkgname%-git}::git+https://git.gnome.org/browse/chrome-gnome-shell") +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname%-git}" + printf "%s_%s.%s" "${pkgver%_*}" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + cd "$srcdir/${pkgname%-git}" + mkdir -p 'build' +} + +build() { + cd "$srcdir/${pkgname%-git}/build" + cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_EXTENSION=OFF ../ +} + +package() { + cd "$srcdir/${pkgname%-git}/build" + make DESTDIR="$pkgdir/" install +} |