[arch-commits] Commit in rust-analyzer/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Mon Jul 20 18:22:51 UTC 2020
Date: Monday, July 20, 2020 @ 18:22:51
Author: polyzen
Revision: 664648
archrelease: copy trunk to community-x86_64
Added:
rust-analyzer/repos/community-x86_64/PKGBUILD
(from rev 664647, rust-analyzer/trunk/PKGBUILD)
Deleted:
rust-analyzer/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-20 18:22:32 UTC (rev 664647)
+++ PKGBUILD 2020-07-20 18:22:51 UTC (rev 664648)
@@ -1,39 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Sergey A. <murlakatamenka at disroot.org>
-
-pkgname=rust-analyzer
-pkgver=20200713
-_pkgver=2020-07-13
-pkgrel=1
-pkgdesc='Experimental Rust compiler front-end for IDEs'
-arch=('x86_64')
-url=https://github.com/rust-analyzer/rust-analyzer
-license=('Apache' 'MIT')
-depends=('gcc-libs' 'rust')
-source=("$url/archive/$_pkgver/$pkgname-$_pkgver.tar.gz")
-sha512sums=('a002f61cdabba61e5bb899ece7b44a06ec04f2864a6c3b77bd93611a126fbbc46e64e891ab575c0c5c5dc6508060e65c44c312d464e37f8d71ec0f649e0cb9f5')
-
-prepare() {
- cd $pkgname-$_pkgver
- sed -i '/ensure_rustfmt()?;/d' xtask/src/lib.rs
-}
-
-pkgver() {
- echo ${_pkgver//-}
-}
-
-build() {
- cd $pkgname-$_pkgver
- cargo build --release --locked
-}
-
-check() {
- cd $pkgname-$_pkgver
- cargo test --release --locked
-}
-
-package() {
- cd $pkgname-$_pkgver
- install -Dt "$pkgdir"/usr/bin target/release/rust-analyzer
- install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE-MIT
-}
Copied: rust-analyzer/repos/community-x86_64/PKGBUILD (from rev 664647, rust-analyzer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-20 18:22:51 UTC (rev 664648)
@@ -0,0 +1,39 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Sergey A. <murlakatamenka at disroot.org>
+
+pkgname=rust-analyzer
+pkgver=20200720
+_pkgver=2020-07-20
+pkgrel=1
+pkgdesc='Experimental Rust compiler front-end for IDEs'
+arch=('x86_64')
+url=https://github.com/rust-analyzer/rust-analyzer
+license=('Apache' 'MIT')
+depends=('gcc-libs' 'rust')
+source=("$url/archive/$_pkgver/$pkgname-$_pkgver.tar.gz")
+sha512sums=('062db45f48f00afabf35c6fb4ce25e3c5cd7a565352ef696fec20c836e68241f4694fab9276bf42005afb203328e1b3c5b07f3341f151eb3a1df6c6506cc55f8')
+
+prepare() {
+ cd $pkgname-$_pkgver
+ sed -i '/ensure_rustfmt()?;/d' xtask/src/lib.rs
+}
+
+pkgver() {
+ echo ${_pkgver//-}
+}
+
+build() {
+ cd $pkgname-$_pkgver
+ cargo build --release --locked
+}
+
+check() {
+ cd $pkgname-$_pkgver
+ cargo test --release --locked
+}
+
+package() {
+ cd $pkgname-$_pkgver
+ install -Dt "$pkgdir"/usr/bin target/release/rust-analyzer
+ install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE-MIT
+}
More information about the arch-commits
mailing list