diff options
author | Jonian Guveli | 2018-10-28 23:01:50 +0200 |
---|---|---|
committer | Jonian Guveli | 2018-10-28 23:01:50 +0200 |
commit | 9d39c83e93693c1c9dfcb9d381e1f286752e6e29 (patch) | |
tree | dce3da2a7ffbed7eb82f424a7fdff0eac3e6c526 | |
parent | 692efc38d9e089bbe2aaa94abb15cf6a87210951 (diff) | |
download | aur-9d39c83e93693c1c9dfcb9d381e1f286752e6e29.tar.gz |
optimize install
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 3 insertions, 6 deletions
@@ -10,7 +10,7 @@ pkgbase = gnome-shell-extension-unite optdepends = gnome-shell-extension-dash-to-dock provides = gnome-shell-extension-unite conflicts = gnome-shell-extension-unite-git - source = gnome-shell-extension-unite-21::https://github.com/hardpixel/unite-shell/archive/v21.tar.gz + source = gnome-shell-extension-unite-21.tar.gz::https://github.com/hardpixel/unite-shell/archive/v21.tar.gz md5sums = 3c200249db02a56c98d116849589962f pkgname = gnome-shell-extension-unite @@ -10,12 +10,9 @@ depends=("gnome-shell" "xorg-xprop") optdepends=("gnome-shell-extension-dash-to-dock") provides=("gnome-shell-extension-unite") conflicts=("gnome-shell-extension-unite-git") -source=("$pkgname-$pkgver::https://github.com/hardpixel/unite-shell/archive/v$pkgver.tar.gz") +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") md5sums=("3c200249db02a56c98d116849589962f") package() { - mkdir -p "$pkgdir/usr/share/gnome-shell/extensions/" - - cd "$srcdir/unite-shell-$pkgver" - cp -af "unite@hardpixel.eu" "$pkgdir/usr/share/gnome-shell/extensions/" + install -d "$pkgdir/usr/share/gnome-shell/extensions" && cp -a "$srcdir/unite-shell-$pkgver/unite@hardpixel.eu" "$_" } |