summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkhai96_2020-12-21 08:34:35 +0700
committerkhai96_2020-12-21 08:34:35 +0700
commitd9addfa0fd4ecf4cba9e8aede4647d48c6662a54 (patch)
tree662b706b154f9d9321624f19e6484c365798b446
parentb29f8d94a043905cbde34f021c78ff9a9404b9db (diff)
downloadaur-d9addfa0fd4ecf4cba9e8aede4647d48c6662a54.tar.gz
refactor: Shorter lines
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c2033304be11..54e2e44111d8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,9 +7,10 @@ pkgdesc='Pluggable and configurable code formatting platform written in Rust.'
arch=('x86_64')
url='https://dprint.dev/'
license=('MIT')
+_repo='https://github.com/dprint/dprint'
source=(
- "$pkgver.zip::https://github.com/dprint/dprint/releases/download/$pkgver/dprint-x86_64-unknown-linux-gnu.zip"
- "$pkgver.LICENSE::https://github.com/dprint/dprint/raw/$pkgver/LICENSE"
+ "$pkgver.zip::$_repo/releases/download/$pkgver/dprint-x86_64-unknown-linux-gnu.zip"
+ "$pkgver.LICENSE::$_repo/raw/$pkgver/LICENSE"
)
sha512sums=('SKIP' 'SKIP')