[arch-commits] Commit in rust-analyzer/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Sun Sep 4 03:38:04 UTC 2022
Date: Sunday, September 4, 2022 @ 03:38:02
Author: polyzen
Revision: 1292792
archrelease: copy trunk to community-x86_64
Added:
rust-analyzer/repos/community-x86_64/PKGBUILD
(from rev 1292791, rust-analyzer/trunk/PKGBUILD)
Deleted:
rust-analyzer/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 62 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 31 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-04 03:37:42 UTC (rev 1292791)
+++ PKGBUILD 2022-09-04 03:38:02 UTC (rev 1292792)
@@ -1,31 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Sergey A. <murlakatamenka at disroot.org>
-
-pkgname=rust-analyzer
-_pkgver=2022-08-29
-pkgver=${_pkgver//-}
-pkgrel=1
-pkgdesc='Rust compiler front-end for IDEs'
-arch=('x86_64')
-url=https://rust-analyzer.github.io/
-license=('Apache' 'MIT')
-depends=('gcc-libs' 'rust-src')
-makedepends=('git')
-source=("git+https://github.com/rust-lang/$pkgname.git#tag=$_pkgver")
-b2sums=('SKIP')
-
-prepare() {
- cd $pkgname
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
- cd $pkgname
- RUST_ANALYZER_REV=$_pkgver cargo build --release --locked --offline
-}
-
-package() {
- cd $pkgname
- install -Dt "$pkgdir"/usr/bin target/release/$pkgname{,-proc-macro-srv}
- install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE-MIT
-}
Copied: rust-analyzer/repos/community-x86_64/PKGBUILD (from rev 1292791, rust-analyzer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-04 03:38:02 UTC (rev 1292792)
@@ -0,0 +1,31 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Sergey A. <murlakatamenka at disroot.org>
+
+pkgname=rust-analyzer
+_pkgver=2022-08-29
+pkgver=${_pkgver//-}
+pkgrel=2
+pkgdesc='Rust compiler front-end for IDEs'
+arch=('x86_64')
+url=https://rust-analyzer.github.io/
+license=('Apache' 'MIT')
+depends=('gcc-libs' 'rust-src')
+makedepends=('git')
+source=("git+https://github.com/rust-lang/$pkgname.git#tag=$_pkgver")
+b2sums=('SKIP')
+
+prepare() {
+ cd $pkgname
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+ cd $pkgname
+ CFG_RELEASE=1 cargo build --release --locked --offline
+}
+
+package() {
+ cd $pkgname
+ install -Dt "$pkgdir"/usr/bin target/release/$pkgname{,-proc-macro-srv}
+ install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE-MIT
+}
More information about the arch-commits
mailing list