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

Kpcyrd kpcyrd at archlinux.org
Mon Mar 23 14:42:23 UTC 2020


    Date: Monday, March 23, 2020 @ 14:42:22
  Author: kpcyrd
Revision: 603726

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-23 14:42:10 UTC (rev 603725)
+++ PKGBUILD	2020-03-23 14:42:22 UTC (rev 603726)
@@ -1,43 +0,0 @@
-# Maintainer: kpcyrd <git at rxv.cc>
-
-pkgname=diesel-cli
-pkgver=1.4.3
-pkgrel=2
-pkgdesc="CLI for the Diesel crate"
-arch=('x86_64')
-url="http://diesel.rs/"
-license=('MIT' 'Apache')
-replaces=('diesel_cli')
-depends=('sqlite' 'postgresql-libs' 'libmariadbclient')
-makedepends=('cargo')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/diesel-rs/diesel/archive/v${pkgver}.tar.gz")
-sha512sums=('afc348b362b3cfea88b161f17897ef0d7ca06c9e9624e09a5210428a95f351fe774a9bd98a1009b1d334abecd1800d9a266b9ddbab42ff77fbfba1e66ad501fc')
-b2sums=('3357d9b0ade8142e6d0529aa128a38ddd255c1fdf7fb8567f7391122ba8157c40ce90dc94ae939997160dcdbe72c41fc9aa5b38f55ebddd4caba4ee76770be23')
-
-build() {
-  cd "diesel-${pkgver}/diesel_cli"
-  # --locked is broken
-  cargo build --release
-}
-
-check() {
-  cd "diesel-${pkgver}/diesel_cli"
-  # tests require a debug build to be present
-  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 603725, diesel-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-23 14:42:22 UTC (rev 603726)
@@ -0,0 +1,43 @@
+# Maintainer: kpcyrd <git at rxv.cc>
+
+pkgname=diesel-cli
+pkgver=1.4.4
+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=('12685af3b2e5a53476bda87b22343961d7ef21b4b22238ea9bb0e781f6df4081e206fe9208a22f60e40eb6487efb50672eac1b808d997780494dba8f682c6400')
+b2sums=('098f9c502e2b87dab36ddc670c298bc78cba33e54a3d46d5d5e7efe194f2587639def7b32e12ec573c9c8c656601a28b6a4861996082f502e6e0e67bfa12534c')
+
+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