Date: Monday, May 30, 2022 @ 09:30:40 Author: orhun Revision: 1215369
archrelease: copy trunk to community-x86_64 Added: cargo-crev/repos/community-x86_64/PKGBUILD (from rev 1215368, cargo-crev/trunk/PKGBUILD) Deleted: cargo-crev/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-05-30 09:30:34 UTC (rev 1215368) +++ PKGBUILD 2022-05-30 09:30:40 UTC (rev 1215369) @@ -1,40 +0,0 @@ -# Maintainer: kpcyrd <g...@rxv.cc> -# Maintainer: Orhun Parmaksız <or...@archlinux.org> - -pkgname=cargo-crev -pkgver=0.23.1 -pkgrel=1 -pkgdesc="Scalable, social, Code REView and recommendation system that we desperately need" -url="https://github.com/crev-dev/cargo-crev" -depends=('openssl' 'libcurl.so' 'libgit2.so') -makedepends=('cargo' 'clang') -arch=('x86_64') -license=('MPL' 'Apache' 'MIT') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/crev-dev/cargo-crev/archive/v${pkgver}.tar.gz") -sha512sums=('db9ef53a7cd4e9a7db32967e1ac289032aa3f0668a062429057746d73c29e84ab5a58530b8b0256e5404bd8fef937601969d1a019d12c66e33fcef6dd80d71fc') -b2sums=('5ecda8e850155c30f988d846f4b5171d84f5c3952ecec484226d539c129a62c864fcdb41b5f960672d39b96e5315e0d859e837102720add7dec865b076834e45') - -prepare() { - cd "${pkgname}-${pkgver}" - cargo fetch --locked --target "$CARCH-unknown-linux-gnu" -} - -build() { - cd "${pkgname}-${pkgver}" - LIBSSH2_SYS_USE_PKG_CONFIG=1 cargo build --frozen --release --no-default-features -} - -check() { - cd "${pkgname}-${pkgver}" - LIBSSH2_SYS_USE_PKG_CONFIG=1 cargo test --frozen --no-default-features -} - -package() { - cd "${pkgname}-${pkgver}" - install -Dm755 "target/release/${pkgname}" -t "${pkgdir}/usr/bin" - - install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" - install -Dm644 LICENSE-MIT -t "${pkgdir}/usr/share/licenses/${pkgname}" -} - -# vim:set ts=2 sw=2 et: Copied: cargo-crev/repos/community-x86_64/PKGBUILD (from rev 1215368, cargo-crev/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-05-30 09:30:40 UTC (rev 1215369) @@ -0,0 +1,40 @@ +# Maintainer: kpcyrd <g...@rxv.cc> +# Maintainer: Orhun Parmaksız <or...@archlinux.org> + +pkgname=cargo-crev +pkgver=0.23.2 +pkgrel=1 +pkgdesc="Scalable, social, Code REView and recommendation system that we desperately need" +url="https://github.com/crev-dev/cargo-crev" +depends=('openssl' 'libcurl.so' 'libgit2.so') +makedepends=('cargo' 'clang') +arch=('x86_64') +license=('MPL' 'Apache' 'MIT') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/crev-dev/cargo-crev/archive/v${pkgver}.tar.gz") +sha512sums=('0c17c0de3b9fb0160630826de435ff857a02d56f4713c33b65e6eb03cd8ca73fff5cd5945c71ebcacac2979f92ffe50b55bae24923d2352456463b3fcf54d9df') +b2sums=('36b674d3e2bc881b8ba3e3e455ca115015ba5c4e16a8a02a680e47946055342d599850d52e06cf4dc2e5e4f8785546154798dc8e8f12839decb20279319aad3e') + +prepare() { + cd "${pkgname}-${pkgver}" + cargo fetch --locked --target "$CARCH-unknown-linux-gnu" +} + +build() { + cd "${pkgname}-${pkgver}" + LIBSSH2_SYS_USE_PKG_CONFIG=1 cargo build --frozen --release --no-default-features +} + +check() { + cd "${pkgname}-${pkgver}" + LIBSSH2_SYS_USE_PKG_CONFIG=1 cargo test --frozen --no-default-features +} + +package() { + cd "${pkgname}-${pkgver}" + install -Dm755 "target/release/${pkgname}" -t "${pkgdir}/usr/bin" + + install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm644 LICENSE-MIT -t "${pkgdir}/usr/share/licenses/${pkgname}" +} + +# vim:set ts=2 sw=2 et: