diff options
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2b4998d16370 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = gnome-shell-extension-topicons-plus-huttli-git + pkgdesc = Moves legacy tray icons to the top panel(Huttli Fokr) + pkgver = v19.r73.gf9f2ba0 + pkgrel = 1 + url = https://github.com/huttli/TopIcons-plus + arch = any + license = GPL2 + depends = gnome-shell + source = gnome-shell-extension-topicons-plus-huttli-git::git+https://github.com/huttli/TopIcons-plus.git + sha256sums = SKIP + +pkgname = gnome-shell-extension-topicons-plus-huttli-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ba44a0b0ef53 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: LinArcx <linarcx@gmail.com> + +pkgname=gnome-shell-extension-topicons-plus-huttli-git +pkgver=v19.r73.gf9f2ba0 +pkgrel=1 +pkgdesc="Moves legacy tray icons to the top panel(Huttli Fokr)" +arch=('any') +url="https://github.com/huttli/TopIcons-plus" +license=('GPL2') +depends=('gnome-shell') +source=("${pkgname}::git+https://github.com/huttli/TopIcons-plus.git") +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname}" + ( set -o pipefail + git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + ) +} + +package() { + _uuid='TopIcons@huttli' + + cd "${srcdir}/${pkgname}" + + install -d "${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}" + install -Dm644 "schemas/org.gnome.shell.extensions.topicons.gschema.xml" \ + -t "${pkgdir}/usr/share/glib-2.0/schemas/" + + cp -af * "${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}" +}
\ No newline at end of file |