Date: Wednesday, July 28, 2021 @ 09:54:04 Author: orhun Revision: 988678
archrelease: copy trunk to community-x86_64 Added: cargo-expand/repos/community-x86_64/PKGBUILD (from rev 988677, cargo-expand/trunk/PKGBUILD) Deleted: cargo-expand/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 70 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-07-28 09:53:54 UTC (rev 988677) +++ PKGBUILD 2021-07-28 09:54:04 UTC (rev 988678) @@ -1,35 +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.7 -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=('rust') -source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") -sha256sums=('3064013b322dab644126ac82fa8e541148016f0a25a531c540cc2e2390aa3b68') - -build() { - cd "$pkgname-$pkgver" - cargo build --release --locked -} - - -check() { - cd "$pkgname-$pkgver" - cargo test --release --locked -} - -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 988677, cargo-expand/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-07-28 09:54:04 UTC (rev 988678) @@ -0,0 +1,35 @@ +# 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.8 +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=('rust') +source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") +sha256sums=('7d659865748e8d58481a8a722ea6f1f1b2b495a46e2055b5d6b7dd0d77f6d9c6') + +build() { + cd "$pkgname-$pkgver" + cargo build --release --locked +} + + +check() { + cd "$pkgname-$pkgver" + cargo test --release --locked +} + +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: