summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorb1f6c1c42020-07-20 19:29:06 -0400
committerb1f6c1c42020-07-20 19:29:06 -0400
commit15fbe2ffc73df8f9da70ca0ba58c6810a101f514 (patch)
treea815048297a48936ee7fa1a1995299216d674905
parent686f5399cb6f2c015299a54c62b80cace4f504eb (diff)
downloadaur-15fbe2ffc73df8f9da70ca0ba58c6810a101f514.tar.gz
improve PKGBUILD quality
Co-authored-by: caltlgin <contact@fossdaily.xyz>
-rw-r--r--PKGBUILD6
1 files changed, 1 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 060ffbfffa87..85b010e16359 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,13 +7,9 @@ arch=('any')
url="https://github.com/b1f6c1c4/git-get"
license=('MIT')
depends=('git' 'bash' 'grep' 'sed' 'awk')
-source=("$url/releases/download/$pkgver/$pkgname.tar.xz")
+source=("$pkgname-$pkgver.tar.xz::$url/releases/download/$pkgver/$pkgname.tar.xz")
sha256sums=('af46f5eeee7227dc2df37de48e9fdcfeae07034b9b20569cbdb60a2a7668b685')
-build() {
- true
-}
-
package() {
mkdir -p "$pkgdir/usr/"
cp -r "$srcdir/bin" "$pkgdir/usr/"