diff options
author | Llewelyn Trahaearn | 2015-07-16 17:15:09 -0700 |
---|---|---|
committer | Llewelyn Trahaearn | 2015-07-16 17:15:09 -0700 |
commit | 2db5e00cec369e9e218f5755c2353ddf9acde225 (patch) | |
tree | 9fc9f2bd19ba996e08c30e0696f35e855cd2bcd0 | |
download | aur-2db5e00cec369e9e218f5755c2353ddf9acde225.tar.gz |
Initial import.
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 35 | ||||
-rw-r--r-- | gschemas.install | 20 |
3 files changed, 75 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5c1e0ac650ea --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = gnome-shell-extension-freon-git + pkgdesc = Extension for displaying CPU temperature, HDD/SSD temperature, video card temperature (Nvidia/Catalyst), voltage and fan RPM in GNOME Shell. + pkgver = 1.3.r120.g12ecebd + pkgrel = 1 + url = https://github.com/UshakovVasilii/gnome-shell-extension-freon + install = gschemas.install + arch = any + license = GPL + makedepends = git + makedepends = gnome-common + makedepends = intltool + depends = dconf + provides = gnome-shell-extension-freon + conflicts = gnome-shell-extensions-git + conflicts = gnome-shell-extensions-freon + source = gnome-shell-extension-freon-git::git+https://github.com/UshakovVasilii/gnome-shell-extension-freon.git + sha512sums = SKIP + +pkgname = gnome-shell-extension-freon-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c7d669d863a1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Llewelyn Trahaearn <WoefulDerelict at GMail dot com> + +pkgname=gnome-shell-extension-freon-git +pkgver=1.3.r120.g12ecebd +pkgrel=1 +pkgdesc="Extension for displaying CPU temperature, HDD/SSD temperature, video card temperature (Nvidia/Catalyst), voltage and fan RPM in GNOME Shell." +arch=('any') +url="https://github.com/UshakovVasilii/gnome-shell-extension-freon" +license=('GPL') +depends=('dconf') +makedepends=('git' 'gnome-common' 'intltool') +provides=('gnome-shell-extension-freon') +conflicts=('gnome-shell-extensions-git' 'gnome-shell-extensions-freon') +install="gschemas.install" +source=("${pkgname}::git+https://github.com/UshakovVasilii/gnome-shell-extension-freon.git") +sha512sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname}" + ( set -o pipefail + git describe --long 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' || + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + ) +} + +build() { + cd "${srcdir}/${pkgname}" + sed -i 's#\[\"3.12\", \"3.14\"\]#\[\"3.12\", \"3.14\", \"3.16\"\]#g' "./freon@UshakovVasilii_Github.yahoo.com/metadata.json" +} + +package() { + cd "${srcdir}/${pkgname}" + mkdir -p "${pkgdir}/usr/share/gnome-shell/extensions" + cp -r freon@UshakovVasilii_Github.yahoo.com "${pkgdir}/usr/share/gnome-shell/extensions/" +} diff --git a/gschemas.install b/gschemas.install new file mode 100644 index 000000000000..61789e42d2c5 --- /dev/null +++ b/gschemas.install @@ -0,0 +1,20 @@ +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas/ + instructions +} + +post_upgrade() { + glib-compile-schemas usr/share/glib-2.0/schemas/ + instructions +} + +post_remove() { + glib-compile-schemas usr/share/glib-2.0/schemas/ +} + +instructions() { + /bin/cat << EOF +Don't forget to restart GNOME Shell ([Alt]+[F2], r) and to enable extension +with gnome-tweak-tool. +EOF +} |