[arch-commits] Commit in cargo-release/repos (2 files)
Kpcyrd
kpcyrd at archlinux.org
Sun Nov 8 20:54:17 UTC 2020
Date: Sunday, November 8, 2020 @ 20:54:16
Author: kpcyrd
Revision: 746729
archrelease: copy trunk to community-x86_64
Added:
cargo-release/repos/community-x86_64/
cargo-release/repos/community-x86_64/PKGBUILD
(from rev 746728, cargo-release/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: cargo-release/repos/community-x86_64/PKGBUILD (from rev 746728, cargo-release/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2020-11-08 20:54:16 UTC (rev 746729)
@@ -0,0 +1,26 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+
+pkgname=cargo-release
+pkgver=0.13.8
+pkgrel=2
+pkgdesc='Cargo subcommand "release": everything about releasing a rust crate'
+url='https://github.com/sunng87/cargo-release'
+arch=('x86_64')
+license=('MIT' 'APACHE')
+depends=('openssl' 'zlib')
+makedepends=('cargo')
+source=(https://github.com/sunng87/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+b2sums=('0dc3f2177920d12bda2ab209340960aa13ae2e20a113ffabf671f9d5bc274dbbb5ba5e93c8e82c0c5cb478dcb507b8f61e68af43cf8f893514d198ae51489a16')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ cargo build --release --locked
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ install -Dm 755 target/release/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm 644 LICENSE-MIT -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list