[arch-commits] Commit in diesel-cli/repos/community-x86_64 (PKGBUILD PKGBUILD)

Kpcyrd kpcyrd at archlinux.org
Tue Jun 8 09:42:56 UTC 2021


    Date: Tuesday, June 8, 2021 @ 09:42:56
  Author: kpcyrd
Revision: 958687

archrelease: copy trunk to community-x86_64

Added:
  diesel-cli/repos/community-x86_64/PKGBUILD
    (from rev 958686, diesel-cli/trunk/PKGBUILD)
Deleted:
  diesel-cli/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-08 09:42:41 UTC (rev 958686)
+++ PKGBUILD	2021-06-08 09:42:56 UTC (rev 958687)
@@ -1,43 +0,0 @@
-# Maintainer: kpcyrd <git at rxv.cc>
-
-pkgname=diesel-cli
-pkgver=1.4.6
-pkgrel=1
-pkgdesc="CLI for the Diesel crate"
-arch=('x86_64')
-url="https://diesel.rs/"
-license=('MIT' 'Apache')
-replaces=('diesel_cli')
-depends=('sqlite' 'postgresql-libs' 'libmariadbclient')
-makedepends=('cargo')
-source=(https://github.com/diesel-rs/diesel/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('f03ff914e07ecb4e9081cba9e82eff9a5f5304bcfab5fb0bc5779bcc261d9d9a434dce0f9d84173f0c6ef1198c27df7821087b5e8a632a9c8851d4cb542210f4')
-b2sums=('246c53cb474b8d20184835f68e6de187a28f6d3ee55e68dc521b0aef13057b9e78f4fea432ab3c7eab617dbd37a2802619ee2d8184b5a8507d9c626c0de3d6c5')
-
-build() {
-  cd "diesel-${pkgver}/diesel_cli"
-  # --locked is broken
-  RUSTFLAGS="--cap-lints allow" cargo build --release
-}
-
-check() {
-  cd "diesel-${pkgver}/diesel_cli"
-  # tests require a debug build to be present
-  RUSTFLAGS="--cap-lints allow" cargo test --no-default-features --features sqlite
-}
-
-package() {
-  cd "diesel-${pkgver}"
-  install -Dm755 "target/release/diesel" "${pkgdir}/usr/bin/diesel"
-
-  install -d "${pkgdir}/usr/share/bash-completion/completions" \
-             "${pkgdir}/usr/share/zsh/site-functions" \
-             "${pkgdir}/usr/share/fish/vendor_completions.d"
-  "${pkgdir}/usr/bin/diesel" completions bash > "${pkgdir}/usr/share/bash-completion/completions/diesel"
-  "${pkgdir}/usr/bin/diesel" completions zsh > "${pkgdir}/usr/share/zsh/site-functions/_diesel"
-  "${pkgdir}/usr/bin/diesel" completions fish > "${pkgdir}/usr/share/fish/vendor_completions.d/diesel.fish"
-
-  install -Dm644 LICENSE-MIT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: diesel-cli/repos/community-x86_64/PKGBUILD (from rev 958686, diesel-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-06-08 09:42:56 UTC (rev 958687)
@@ -0,0 +1,43 @@
+# Maintainer: kpcyrd <git at rxv.cc>
+
+pkgname=diesel-cli
+pkgver=1.4.7
+pkgrel=1
+pkgdesc="CLI for the Diesel crate"
+arch=('x86_64')
+url="https://diesel.rs/"
+license=('MIT' 'Apache')
+replaces=('diesel_cli')
+depends=('sqlite' 'postgresql-libs' 'libmariadbclient')
+makedepends=('cargo')
+source=(https://github.com/diesel-rs/diesel/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('5cb65679388cfb0c15e83a3a259f29f022e769b12dcf4ee2eadb95887f18856dc6eb8dffef7d70be604c313512e9cf94e78581e695fc79c643f53018fcf315de')
+b2sums=('75607f53be7cd41be405209390c93a3237ca03ac9b1180e564a89fe8ce28a39b0271d275f6e92c02d0d9a0bdca94ee54e70affb89f56a9f61be2bce27d6b0d62')
+
+build() {
+  cd "diesel-${pkgver}/diesel_cli"
+  # --locked is broken
+  RUSTFLAGS="--cap-lints allow" cargo build --release
+}
+
+check() {
+  cd "diesel-${pkgver}/diesel_cli"
+  # tests require a debug build to be present
+  RUSTFLAGS="--cap-lints allow" cargo test --no-default-features --features sqlite
+}
+
+package() {
+  cd "diesel-${pkgver}"
+  install -Dm755 "target/release/diesel" "${pkgdir}/usr/bin/diesel"
+
+  install -d "${pkgdir}/usr/share/bash-completion/completions" \
+             "${pkgdir}/usr/share/zsh/site-functions" \
+             "${pkgdir}/usr/share/fish/vendor_completions.d"
+  "${pkgdir}/usr/bin/diesel" completions bash > "${pkgdir}/usr/share/bash-completion/completions/diesel"
+  "${pkgdir}/usr/bin/diesel" completions zsh > "${pkgdir}/usr/share/zsh/site-functions/_diesel"
+  "${pkgdir}/usr/bin/diesel" completions fish > "${pkgdir}/usr/share/fish/vendor_completions.d/diesel.fish"
+
+  install -Dm644 LICENSE-MIT -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list