summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonian Guveli2018-10-28 22:58:30 +0200
committerJonian Guveli2018-10-28 22:58:30 +0200
commitf8606145f86c7ad2cb02a9e19738395a3d90c958 (patch)
tree75b009b55a37bdca8395e8742f13b4a047be2056
parentce9b63a1b92624de0cd9a7e2917f6309f3cf0b01 (diff)
downloadaur-f8606145f86c7ad2cb02a9e19738395a3d90c958.tar.gz
version update
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD13
2 files changed, 6 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 94a9536ebcc..2523137e243 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = gnome-shell-extension-unite-git
pkgdesc = Unite makes GNOME Shell look like Ubuntu Unity Shell
- pkgver = 366.7a9f669
+ pkgver = r366.7a9f669
pkgrel = 1
url = https://github.com/hardpixel/unite-shell
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index b8597b93fa7..f042c73d4f8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Jonian Guveli <https://github.com/jonian/>
pkgname=gnome-shell-extension-unite-git
-pkgver=366.7a9f669
+pkgver=r366.7a9f669
pkgrel=1
pkgdesc="Unite makes GNOME Shell look like Ubuntu Unity Shell"
arch=("any")
@@ -11,17 +11,14 @@ optdepends=("gnome-shell-extension-dash-to-dock-git")
makedepends=("git")
provides=("gnome-shell-extension-unite")
conflicts=("gnome-shell-extension-unite")
-source=("$pkgname::git+https://github.com/hardpixel/unite-shell")
+source=("$pkgname::git+$url")
md5sums=("SKIP")
pkgver() {
- cd "${srcdir}/${pkgname}"
- echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+ cd "$srcdir/$pkgname"
+ echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
package() {
- mkdir -p "$pkgdir/usr/share/gnome-shell/extensions/"
-
- cd "$srcdir/$pkgname"
- cp -af "unite@hardpixel.eu" "$pkgdir/usr/share/gnome-shell/extensions/"
+ install -d "$pkgdir/usr/share/gnome-shell/extensions" && cp -a "$srcdir/$pkgname/unite@hardpixel.eu" "$_"
}