[arch-commits] Commit in cargo-feature/repos (2 files)

Morgan Adamiec morganamilo at gemini.archlinux.org
Tue Oct 26 11:35:06 UTC 2021


    Date: Tuesday, October 26, 2021 @ 11:35:06
  Author: morganamilo
Revision: 1033794

archrelease: copy trunk to community-x86_64

Added:
  cargo-feature/repos/community-x86_64/
  cargo-feature/repos/community-x86_64/PKGBUILD
    (from rev 1033793, cargo-feature/trunk/PKGBUILD)

----------+
 PKGBUILD |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Copied: cargo-feature/repos/community-x86_64/PKGBUILD (from rev 1033793, cargo-feature/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-10-26 11:35:06 UTC (rev 1033794)
@@ -0,0 +1,25 @@
+# Maintainer: Morgan <morganamilo at archlinux.org>
+
+pkgname=cargo-feature
+pkgver=0.5.4
+pkgrel=1
+pkgdesc="Conveniently modify dependency features"
+url="https://github.com/Riey/$pkgname"
+source=($pkgname-$pkgver::https://github.com/Riey/$pkgname/archive/v$pkgver.tar.gz)
+arch=("x86_64")
+license=("MIT")
+depends=("cargo")
+sha256sums=('6774ce2454d669d96857a9b00a87758b6affce363e59a2ea5dc152f9c9c32a95')
+
+build() {
+    cd "$srcdir/$pkgname-$pkgver"
+
+    cargo build --locked --release --target-dir target
+}
+
+package() {
+    cd "$srcdir/$pkgname-$pkgver"
+
+    install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin/"
+    install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+}



More information about the arch-commits mailing list