diff options
author | Maxim Andersson | 2015-06-08 15:11:12 +0200 |
---|---|---|
committer | Maxim Andersson | 2015-06-08 15:11:12 +0200 |
commit | ec850214efb7f87e965563d0a6a9ada6fec601c4 (patch) | |
tree | 2f1f0cf7896ce65daa7694a470b41eff746e87c1 | |
download | aur-ec850214efb7f87e965563d0a6a9ada6fec601c4.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 36 | ||||
-rw-r--r-- | gnome-shell-extension-dynamic-top-bar-git.install | 19 |
3 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..53f4fea8236a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = gnome-shell-extension-dynamic-top-bar-git + pkgdesc = Extension that make the top bar transparent when no window is maximized + pkgver = 3.0.r1.gce58fc3 + pkgrel = 1 + url = https://github.com/AMDG2/GnomeShell_DynamicTopBar + install = gnome-shell-extension-dynamic-top-bar-git.install + arch = any + license = GPL3 + makedepends = git + depends = gnome-shell + conflicts = gnome-shell-extension-dynamic-top-bar + source = git://github.com/AMDG2/GnomeShell_DynamicTopBar.git + sha256sums = SKIP + +pkgname = gnome-shell-extension-dynamic-top-bar-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..65cb120e7e7e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Maxim Andersson <thesilentboatman@gmail.com> + +pkgname=gnome-shell-extension-dynamic-top-bar-git +_gitname=GnomeShell_DynamicTopBar +pkgver=3.0.r1.gce58fc3 +pkgrel=1 +pkgdesc="Extension that make the top bar transparent when no window is maximized" +arch=('any') +url="https://github.com/AMDG2/GnomeShell_DynamicTopBar" +license=('GPL3') +depends=('gnome-shell') +makedepends=('git') +conflicts=('gnome-shell-extension-dynamic-top-bar') +install=${pkgname}.install +source=('git://github.com/AMDG2/GnomeShell_DynamicTopBar.git') +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/${_gitname}" + git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g' +} + +package() { + _uuid='dynamicTopBar@gnomeshell.feildel.fr' + + install -d "${pkgdir}/usr/share/gnome-shell/extensions" + install -d "${pkgdir}/usr/share/glib-2.0/schemas/" + + cd "${srcdir}/${_gitname}" + mv "${_uuid}/schemas/org.gnome.shell.extensions.dynamic-top-bar.gschema.xml" \ + "${pkgdir}/usr/share/glib-2.0/schemas/" + cp -af "${_uuid}" "${pkgdir}/usr/share/gnome-shell/extensions/" + +} + +# vim:set ts=2 sw=2 et: diff --git a/gnome-shell-extension-dynamic-top-bar-git.install b/gnome-shell-extension-dynamic-top-bar-git.install new file mode 100644 index 000000000000..1e7413864fe6 --- /dev/null +++ b/gnome-shell-extension-dynamic-top-bar-git.install @@ -0,0 +1,19 @@ +post_install() { + post_upgrade + + echo '' + echo '==> To enable Dynamic Top Bar:' + echo '==> Reload Gnome Shell with Alt-F2 r' + echo '==> Enable it with the gnome-tweak-tool' + echo '==> or run "gnome-shell-extension-tool -e dynamicTopBar@gnomeshell.feildel.fr"' + echo '' +} + +post_upgrade() { + glib-compile-schemas /usr/share/glib-2.0/schemas +} + +post_remove() { + post_upgrade +} + |