Date: Thursday, June 16, 2022 @ 21:41:28 Author: orhun Revision: 1238244
archrelease: copy trunk to community-x86_64 Added: cargo-expand/repos/community-x86_64/PKGBUILD (from rev 1238243, cargo-expand/trunk/PKGBUILD) Deleted: cargo-expand/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 82 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-06-16 21:41:19 UTC (rev 1238243) +++ PKGBUILD 2022-06-16 21:41:28 UTC (rev 1238244) @@ -1,41 +0,0 @@ -# Maintainer: Orhun Parmaksız <or...@archlinux.org> -# Contributor: Philipp A. <flying-sh...@web.de> -# Contributor: Jian Zeng <anonymousknight96 AT gmail.com> - -pkgname=cargo-expand -pkgver=1.0.23 -pkgrel=1 -pkgdesc="Subcommand to show result of macro expansion" -arch=('x86_64') -url='https://github.com/dtolnay/cargo-expand' -license=('MIT' 'Apache') -depends=('gcc-libs') -makedepends=('cargo') -source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") -sha256sums=('e4798c3a81102ae1460d5b9ab1f8692eb7306a3ad4d6cb55f541699c90b10ff6') -options=('!lto') - -prepare() { - cd "$pkgname-$pkgver" - cargo fetch --locked --target "$CARCH-unknown-linux-gnu" -} - -build() { - cd "$pkgname-$pkgver" - cargo build --release --frozen -} - - -check() { - cd "$pkgname-$pkgver" - cargo test --frozen -} - -package() { - cd "$pkgname-$pkgver" - install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin" - install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname" - install -Dm 644 LICENSE-MIT -t "$pkgdir/usr/share/licenses/$pkgname" -} - -# vim:set ts=2 sw=2 et: Copied: cargo-expand/repos/community-x86_64/PKGBUILD (from rev 1238243, cargo-expand/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-06-16 21:41:28 UTC (rev 1238244) @@ -0,0 +1,41 @@ +# Maintainer: Orhun Parmaksız <or...@archlinux.org> +# Contributor: Philipp A. <flying-sh...@web.de> +# Contributor: Jian Zeng <anonymousknight96 AT gmail.com> + +pkgname=cargo-expand +pkgver=1.0.24 +pkgrel=1 +pkgdesc="Subcommand to show result of macro expansion" +arch=('x86_64') +url='https://github.com/dtolnay/cargo-expand' +license=('MIT' 'Apache') +depends=('gcc-libs') +makedepends=('cargo') +source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") +sha256sums=('b2925adf88b0dbede3595b30e22e09ca4762dce55583ed8f4fc7ea272f40c2b2') +options=('!lto') + +prepare() { + cd "$pkgname-$pkgver" + cargo fetch --locked --target "$CARCH-unknown-linux-gnu" +} + +build() { + cd "$pkgname-$pkgver" + cargo build --release --frozen +} + + +check() { + cd "$pkgname-$pkgver" + cargo test --frozen +} + +package() { + cd "$pkgname-$pkgver" + install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin" + install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname" + install -Dm 644 LICENSE-MIT -t "$pkgdir/usr/share/licenses/$pkgname" +} + +# vim:set ts=2 sw=2 et: