Date: Thursday, May 12, 2022 @ 18:06:56 Author: orhun Revision: 1199782
archrelease: copy trunk to community-x86_64 Added: cargo-expand/repos/community-x86_64/PKGBUILD (from rev 1199781, 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-05-12 18:06:48 UTC (rev 1199781) +++ PKGBUILD 2022-05-12 18:06:56 UTC (rev 1199782) @@ -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.19 -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=('c9346be990f3a65d0d2db8dfa877fa1f1f4fc4b061a969552d402564a778626f') -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 1199781, cargo-expand/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-05-12 18:06:56 UTC (rev 1199782) @@ -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.20 +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=('8c96086808884bea7756139678933f46c6475bcfbbb4c4301c139afb0c54d31f') +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: