diff options
author | khai96_ | 2020-12-21 08:34:35 +0700 |
---|---|---|
committer | khai96_ | 2020-12-21 08:34:35 +0700 |
commit | d9addfa0fd4ecf4cba9e8aede4647d48c6662a54 (patch) | |
tree | 662b706b154f9d9321624f19e6484c365798b446 | |
parent | b29f8d94a043905cbde34f021c78ff9a9404b9db (diff) | |
download | aur-d9addfa0fd4ecf4cba9e8aede4647d48c6662a54.tar.gz |
refactor: Shorter lines
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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') |