From 8bca79f561de00a8306233cc11576f3483a8bc64 Mon Sep 17 00:00:00 2001
From: patrick96
Date: Sun, 23 Dec 2018 22:08:09 +0100
Subject: [PATCH] aur: Use tar file for polybar package
We provide the polybar.tar as part of our release process so it is more
efficient to let users build directly from the uploaded archive
---
contrib/polybar.aur/PKGBUILD | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/contrib/polybar.aur/PKGBUILD b/contrib/polybar.aur/PKGBUILD
index 6819e1c7..55a414fa 100644
--- a/contrib/polybar.aur/PKGBUILD
+++ b/contrib/polybar.aur/PKGBUILD
@@ -22,11 +22,10 @@ optdepends=("alsa-lib: alsa module support"
makedepends=("cmake" "git" "python" "python2" "pkg-config")
conflicts=("polybar-git")
install="${pkgname}.install"
-source=("${pkgname}::git+${url}.git#tag=${pkgver}")
-md5sums=("SKIP")
+source=(${url}/releases/download/${pkgver}/polybar.tar)
+sha256sums=('647dde8fbf6690138b354bf538d1d97ba8c1743ff22314af4ee085e06a1f506a')
prepare() {
- git -C "${pkgname}" submodule update --init --recursive
mkdir -p "${pkgname}/build"
}