diff options
author | Michal Donat | 2016-11-20 20:44:10 +0100 |
---|---|---|
committer | Michal Donat | 2016-11-20 20:44:10 +0100 |
commit | a6abfcce4bb55ee062777807d2c43d6686c1ebae (patch) | |
tree | b844bd0bb42b871d26e2d7d85fd18bfde7f99a82 | |
download | aur-a6abfcce4bb55ee062777807d2c43d6686c1ebae.tar.gz |
initial commit - v14
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 23 | ||||
-rw-r--r-- | gschemas.install | 30 |
3 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4e7ab98a31c0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = gnome-shell-extension-no-topleft-hot-corner + pkgdesc = Gnome shell extension disabling hotcorners + pkgver = 14 + pkgrel = 1 + url = https://github.com/HROMANO/nohotcorner/ + install = gschemas.install + arch = any + license = GPL2 + makedepends = git + depends = gnome-shell + source = https://github.com/HROMANO/nohotcorner/archive/v14.0.tar.gz + md5sums = 2fc8061f21e121c7044ccc60f13eff3d + +pkgname = gnome-shell-extension-no-topleft-hot-corner + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..79786d881bb3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Michal DonĂ¡t <michal at donat dot cz> +pkgname=gnome-shell-extension-no-topleft-hot-corner +_pkgname=nohotcorner +pkgver=14 +_pkgver=${pkgver}.0 +pkgrel=1 +pkgdesc="Gnome shell extension disabling hotcorners" +arch=('any') +url="https://github.com/HROMANO/nohotcorner/" +license=('GPL2') +depends=('gnome-shell') +makedepends=('git') +install='gschemas.install' +source=("https://github.com/HROMANO/${_pkgname}/archive/v${_pkgver}.tar.gz") +md5sums=('2fc8061f21e121c7044ccc60f13eff3d') + +package() { + cd "${srcdir}/${_pkgname}-${_pkgver}" + + for i in $(find -type f); do + install -Dm 644 "$i" "${pkgdir}/usr/share/gnome-shell/extensions/nohotcorner@azuri.free.fr/${i}" + done +} diff --git a/gschemas.install b/gschemas.install new file mode 100644 index 000000000000..7f4546e45017 --- /dev/null +++ b/gschemas.install @@ -0,0 +1,30 @@ +post_install() { + /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/ + instructions_install +} + +post_upgrade() { + /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/ + instructions_upgrade +} + +post_remove() { + /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/ +} + +instructions_install() { + /bin/cat << EOF + +Restart GNOME Shell ([Alt]+[F2], r). +Activate the extension with gnome-tweak-tool. + +EOF +} + +instructions_upgrade() { + /bin/cat << EOF + +Restart GNOME Shell ([Alt]+[F2], r) to load the upgraded extension. + +EOF +} |