summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTamás Barta2016-01-06 01:48:36 +0100
committerTamás Barta2016-01-06 01:48:36 +0100
commit98fcc61f8f6ac465596f404b9ce42a02eebdd0e9 (patch)
tree9fbb7cb032d41a8d791115a511e42cea4fc5d64a
downloadaur-98fcc61f8f6ac465596f404b9ce42a02eebdd0e9.tar.gz
initial commit
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD25
-rw-r--r--panel-osd.install22
3 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..96e8002124e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+# Generated by mksrcinfo v8
+# Wed Jan 6 00:48:05 UTC 2016
+pkgbase = gnome-shell-extension-panel-osd
+ pkgdesc = Place gnome-shell notifications under the panel instead of above the message-tray.
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://github.com/jenslody/gnome-shell-extension-panel-osd/
+ install = panel-osd.install
+ arch = any
+ license = GPL
+ license = GPL3
+ makedepends = gnome-common
+ makedepends = automake
+ makedepends = autoconf
+ makedepends = intltool
+ makedepends = zip
+ makedepends = pkg-config
+ makedepends = git
+ depends = gnome-shell
+ source = https://github.com/jenslody/gnome-shell-extension-panel-osd/archive/v1.0.tar.gz
+ md5sums = 6aa7c530e31d82cf82b9583933090136
+
+pkgname = gnome-shell-extension-panel-osd
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..34c49ee7267
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Tamás Barta < barta dot tamas dot d at gmail dot com >
+
+pkgname="gnome-shell-extension-panel-osd"
+pkgver=1.0
+pkgrel=1
+pkgdesc="Place gnome-shell notifications under the panel instead of above the message-tray."
+arch=("any")
+url="https://github.com/jenslody/${pkgname}/"
+license=("GPL" "GPL3")
+depends=("gnome-shell")
+makedepends=("gnome-common" "automake" "autoconf" "intltool" "zip" "pkg-config" "git")
+install="panel-osd.install"
+source=("https://github.com/jenslody/${pkgname}/archive/v${pkgver}.tar.gz")
+md5sums=("6aa7c530e31d82cf82b9583933090136")
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./autogen.sh --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/panel-osd.install b/panel-osd.install
new file mode 100644
index 00000000000..4c2186853ae
--- /dev/null
+++ b/panel-osd.install
@@ -0,0 +1,22 @@
+compile_schemas() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas/
+}
+
+instructions() {
+ echo "Don't forget to restart GNOME Shell ([Alt]+[F2], r) and to enable extension with gnome-tweak-tool."
+}
+
+post_install() {
+ compile_schemas
+ instructions
+}
+
+post_upgrade() {
+ compile_schemas
+ instructions
+}
+
+post_remove() {
+ compile_schemas
+}
+