Date: Thursday, June 16, 2022 @ 20:59:12 Author: orhun Revision: 1238212
archrelease: copy trunk to community-x86_64 Added: cargo-expand/repos/community-x86_64/PKGBUILD (from rev 1238211, 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 20:58:58 UTC (rev 1238211) +++ PKGBUILD 2022-06-16 20:59:12 UTC (rev 1238212) @@ -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.21 -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=('d1078f1e230a44a26f6e9344f318db25778ff5f50615742f7ccb5833f1a9d645') -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 1238211, cargo-expand/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-06-16 20:59:12 UTC (rev 1238212) @@ -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.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: