summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Choina2017-11-16 10:36:15 -0500
committerSolomon Choina2017-11-16 10:36:15 -0500
commitc2988c9e26381b943ce73fb3652f7871ac1fe115 (patch)
tree533dd26a05bdb052200d5893cc000289beaa1314
parent0014923150ef08eb1a2e6cfff745ba0c1778fe9b (diff)
downloadaur-c2988c9e26381b943ce73fb3652f7871ac1fe115.tar.gz
trying to see what works
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD11
2 files changed, 10 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8cf9ca032c7..99f58611333 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Wed Nov 15 12:37:21 UTC 2017
+# Thu Nov 16 15:36:11 UTC 2017
pkgbase = rust-nightly-bin
pkgdesc = Fast, concurrent, safe. The Rust programming language and its package manager, Cargo.
- pkgver = 1.23.0_2017.11.14
+ pkgver = 1.23.0_2017.11.15
pkgrel = 1
url = https://www.rust-lang.org/
arch = i686
@@ -29,10 +29,10 @@ pkgbase = rust-nightly-bin
conflicts = rust-docs
options = staticlibs
options = !strip
- source = rust-nightly-2017-11-15--unknown-linux-gnu.tar.gz.asc::https://static.rust-lang.org/dist/2017-11-15/rust-nightly--unknown-linux-gnu.tar.gz.asc
- source = rust-nightly-2017-11-15--unknown-linux-gnu.tar.gz::https://static.rust-lang.org/dist/2017-11-15/rust-nightly--unknown-linux-gnu.tar.gz
+ source = rust-nightly-2017-11-16--unknown-linux-gnu.tar.gz.asc::https://static.rust-lang.org/dist/2017-11-16/rust-nightly--unknown-linux-gnu.tar.gz.asc
+ source = rust-nightly-2017-11-16--unknown-linux-gnu.tar.gz::https://static.rust-lang.org/dist/2017-11-16/rust-nightly--unknown-linux-gnu.tar.gz
+ sha256sums = SKIP
sha256sums = SKIP
- sha256sums = 04661794b17c8a0d195bceb5d9ebf30f4ec5cff18af4d962a2abc59ffa600d9f
pkgname = rust-nightly-bin
diff --git a/PKGBUILD b/PKGBUILD
index c02cf77b9ce..656e3d7db38 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,11 @@
# Contributor: Mohammad Alsaleh <msal@tormail.org>
# Maintainer: Steven Allen <steven@stebalien.com>
-_date(){
- date +%Y-%m-%d
-}
+
+_date=2017-11-16
pkgname=rust-nightly-bin
-pkgver=1.23.0_2017.11.14
+pkgver=1.23.0_2017.11.15
pkgrel=1
-_date=2017-11-15
arch=('i686' 'x86_64')
pkgdesc='Fast, concurrent, safe. The Rust programming language and its package manager, Cargo.'
url='https://www.rust-lang.org/'
@@ -21,12 +19,13 @@ source=("rust-nightly-${_date}-${CARCH}-unknown-linux-gnu.tar.gz.asc::https://st
)
sha256sums=('SKIP'
- '04661794b17c8a0d195bceb5d9ebf30f4ec5cff18af4d962a2abc59ffa600d9f')
+ 'SKIP')
validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE')
options=(staticlibs !strip)
pkgver() {
cd ${srcdir}/rust-nightly-${CARCH}-unknown-linux-gnu
+ _date=$(date +%Y-%m-%d)
ver="$(expr "$(cat version)" : '\(.*\)-nightly')"
date="$(expr "$(cat version)" : '.* \(.*\))')"
echo "${ver}_${date//\-/.}"