diff options
author | Wenxuan Zhang | 2020-11-11 11:30:16 +0800 |
---|---|---|
committer | Wenxuan Zhang | 2020-11-11 11:30:16 +0800 |
commit | a677cb250673da72e78145181810933f5314e646 (patch) | |
tree | b3b025d4c602e5a828ac143d52f707241dfa3b1a | |
parent | 5bd7be9b33e22067736a2a5191886a551f69bb23 (diff) | |
download | aur-a677cb250673da72e78145181810933f5314e646.tar.gz |
use a unique source name
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 | ||||
-rw-r--r-- | PKGBUILD.tmpl | 2 |
4 files changed, 8 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = rust-script pkgdesc = Run Rust files and expressions without any setup or compilation necessary pkgver = 0.9.0 - pkgrel = 1 + pkgrel = 2 url = https://rust-script.org arch = i686 arch = x86_64 @@ -10,8 +10,8 @@ pkgbase = rust-script makedepends = rust>=1.47 conflicts = rust-script-git conflicts = rust-script-bin - source = https://github.com/fornwall/rust-script/archive/v0.9.0.tar.gz - md5sums = 07f7feee49da7470f45aa0d83180e766 + source = rust-script-0.9.0.tar.gz::https://rust-script.org/archive/v0.9.0.tar.gz + md5sums = pkgname = rust-script @@ -3,7 +3,7 @@ REPO = rust-script PKGDESC = Run Rust files and expressions without any setup or compilation necessary PKGURL = https://rust-script.org PKGVER = 0.9.0 -PKGREL = 1 +PKGREL = 2 MAINTAINER = $(shell git config user.name) <$(shell git config user.email)> PKGNAME = $(REPO) @@ -2,7 +2,7 @@ _pkgname=rust-script pkgname=rust-script pkgver=0.9.0 -pkgrel=1 +pkgrel=2 pkgdesc='Run Rust files and expressions without any setup or compilation necessary' arch=(i686 x86_64) url='https://rust-script.org' @@ -12,8 +12,8 @@ makedepends=('rust>=1.47') conflicts=("rust-script-git" "rust-script-bin") provides=() -source=("https://github.com/fornwall/rust-script/archive/v${pkgver}.tar.gz") -md5sums=('07f7feee49da7470f45aa0d83180e766') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") +md5sums=('') build() { cd "$srcdir/${_pkgname}-${pkgver}" diff --git a/PKGBUILD.tmpl b/PKGBUILD.tmpl index 1d005fc1d47c..5577ccc5922e 100644 --- a/PKGBUILD.tmpl +++ b/PKGBUILD.tmpl @@ -12,7 +12,7 @@ makedepends=('rust>=1.47') conflicts={{CONFLICTS}} provides={{PROVIDES}} -source=("https://github.com/{{USER}}/{{REPO}}/archive/v${pkgver}.tar.gz") +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") md5sums=('{{MD5SUM}}') build() { |