diff options
author | Leonidas Spyropoulos | 2019-01-27 10:29:50 +0000 |
---|---|---|
committer | Leonidas Spyropoulos | 2019-01-27 10:29:50 +0000 |
commit | 64920f5946be3b02ca3940cc34c502aa60d63503 (patch) | |
tree | a22c4d552c3641a209e2a97bc07b22d1eb63b182 | |
download | aur-64920f5946be3b02ca3940cc34c502aa60d63503.tar.gz |
TopIcons Redux version 6
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c554b1f187e1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = gnome-shell-extension-topicons-redux + pkgdesc = TopIcons Redux is a fork of TopIcons Plus + pkgver = 6 + pkgrel = 1 + url = https://gitlab.com/pop-planet/TopIcons-Redux + arch = any + groups = gnome-shell-extensions + license = GPL + makedepends = git + depends = gnome-shell + provides = gnome-shell-extension-topicons-redux + source = git+https://gitlab.com/pop-planet/TopIcons-Redux.git#tag=6 + sha256sums = SKIP + +pkgname = gnome-shell-extension-topicons-redux + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..19d9714d03f1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Leonidas spyropoulos <artafinde AT gmail DOT com> + +pkgname=gnome-shell-extension-topicons-redux +_projectName=TopIcons-Redux +pkgver=6 +pkgrel=1 +pkgdesc='TopIcons Redux is a fork of TopIcons Plus' +arch=('any') +url="https://gitlab.com/pop-planet/${_projectName}" +license=('GPL') +depends=('gnome-shell') +makedepends=('git') +provides=('gnome-shell-extension-topicons-redux') +groups=('gnome-shell-extensions') +source=("git+https://gitlab.com/pop-planet/${_projectName}.git#tag=${pkgver}") +sha256sums=('SKIP') + +build() { + cd "${_projectName}" + make build +} + +package() { + cd "${_projectName}" + local uuid=$(grep -Po '(?<="uuid": ")[^"]*' _build/metadata.json) + local destdir="$pkgdir/usr/share/gnome-shell/extensions/$uuid" + install -dm755 "$destdir" + cp -r _build/* "$destdir" +} |