summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schendel2020-12-25 15:23:00 +0100
committerChristian Schendel2020-12-25 15:23:00 +0100
commite88b169020759a2c4e84629f4dde328069a5b558 (patch)
treeaf0eded101fe2b137b4c742322bc13d04155f592
downloadaur-e88b169020759a2c4e84629f4dde328069a5b558.tar.gz
initial commit
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD36
-rw-r--r--gnome-shell-extension-compiz-windows-effect.install24
4 files changed, 83 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..345b5f4a4d7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = gnome-shell-extension-compiz-windows-effect-git
+ pkgdesc = Compiz wobbly windows effect with libanimation engine.
+ pkgver = r14.3e34af7
+ pkgrel = 1
+ url = https://github.com/hermes83/compiz-windows-effect
+ install = gnome-shell-extension-compiz-windows-effect.install
+ arch = any
+ license = GPL3
+ makedepends = git
+ makedepends = glib2
+ depends = gnome-shell>=3.28
+ depends = libanimation-gnome-shell-git
+ provides = gnome-shell-extension-compiz-windows-effect
+ conflicts = gnome-shell-extension-compiz-windows-effect
+ source = gnome-shell-extension-compiz-windows-effect::git+https://github.com/hermes83/compiz-windows-effect.git
+ sha256sums = SKIP
+
+pkgname = gnome-shell-extension-compiz-windows-effect-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..833085309a2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.tar.gz
+*.pkg.tar.zst
+*/*
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d3812be73b1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Christian Schendel <doppelhelix@gmail.com>
+
+pkgname=gnome-shell-extension-compiz-windows-effect-git
+pkgver=r14.3e34af7
+pkgrel=1
+pkgdesc="Compiz wobbly windows effect with libanimation engine."
+arch=('any')
+url="https://github.com/hermes83/compiz-windows-effect"
+install=${pkgname%-git}.install
+license=('GPL3')
+depends=('gnome-shell>=3.28' 'libanimation-gnome-shell-git')
+makedepends=('git' 'glib2')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+source=("${pkgname%-git}::git+https://github.com/hermes83/compiz-windows-effect.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${pkgname%-git}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ local _uuid="compiz-windows-effect@hermes83.github.com"
+ local _destdir="$pkgdir/usr/share/gnome-shell/extensions/$_uuid"
+
+ cd "${srcdir}/${pkgname%-git}"
+ find . -regextype posix-egrep -regex ".*\.(js|json)$" -exec\
+ install -Dm 644 {} ${_destdir}/{} \;
+ cp -R schemas "${_destdir}"
+ #rebuild compiled GSettings schemas if missing
+ if [[ ! -f "${_destdir}/schemas/gschemas.compiled" ]]; then
+ glib-compile-schemas "${_destdir}/schemas"
+ fi
+ chmod -R 755 "${_destdir}"
+}
diff --git a/gnome-shell-extension-compiz-windows-effect.install b/gnome-shell-extension-compiz-windows-effect.install
new file mode 100644
index 00000000000..19bbbb3c8b7
--- /dev/null
+++ b/gnome-shell-extension-compiz-windows-effect.install
@@ -0,0 +1,24 @@
+post_install() {
+ instructions_install
+}
+
+post_upgrade() {
+ instructions_upgrade
+}
+
+instructions_install() {
+ cat <<-EOT
+
+ Restart GNOME Shell ([Alt]+[F2], r).
+ Activate the extension with gnome-tweak-tool.
+
+ EOT
+}
+
+instructions_upgrade() {
+ cat <<-EOT
+
+ Restart GNOME Shell ([Alt]+[F2], r) to load the upgraded extension.
+
+ EOT
+}