Date: Friday, April 2, 2021 @ 20:12:30 Author: dbermond Revision: 911220
archrelease: copy trunk to community-x86_64 Added: cargo-c/repos/community-x86_64/PKGBUILD (from rev 911219, cargo-c/trunk/PKGBUILD) Deleted: cargo-c/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 66 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-04-02 20:12:03 UTC (rev 911219) +++ PKGBUILD 2021-04-02 20:12:30 UTC (rev 911220) @@ -1,33 +0,0 @@ -# Maintainer: Daniel Bermond <dberm...@archlinux.org> - -pkgname=cargo-c -pkgver=0.7.3 -pkgrel=1 -pkgdesc='A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries' -arch=('x86_64') -url='https://github.com/lu-zero/cargo-c/' -license=('MIT') -depends=('curl' 'openssl' 'zlib') -makedepends=('rust') -source=("https://github.com/lu-zero/cargo-c/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz" - "${pkgname}-${pkgver}.Cargo.lock"::"https://github.com/lu-zero/cargo-c/releases/download/v${pkgver}/Cargo.lock") -sha256sums=('533c65d555330e86b91415753efc140ffdb900abd59b5b6403352c4264941a99' - '3622370d67b15b93417d63e497674daa77ba74a0d17bbe1048ab179c9c2485a2') - -prepare() { - ln -sf "../${pkgname}-${pkgver}.Cargo.lock" "${pkgname}-${pkgver}/Cargo.lock" - cargo fetch --locked --manifest-path="${pkgname}-${pkgver}/Cargo.toml" -} - -build() { - cargo build --release --frozen --manifest-path="${pkgname}-${pkgver}/Cargo.toml" -} - -check() { - cargo test --release --frozen --manifest-path="${pkgname}-${pkgver}/Cargo.toml" -} - -package() { - cargo install --frozen --offline --no-track --path "${pkgname}-${pkgver}" --root "${pkgdir}/usr" - install -D -m644 "${pkgname}-${pkgver}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" -} Copied: cargo-c/repos/community-x86_64/PKGBUILD (from rev 911219, cargo-c/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-04-02 20:12:30 UTC (rev 911220) @@ -0,0 +1,33 @@ +# Maintainer: Daniel Bermond <dberm...@archlinux.org> + +pkgname=cargo-c +pkgver=0.8.0 +pkgrel=1 +pkgdesc='A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries' +arch=('x86_64') +url='https://github.com/lu-zero/cargo-c/' +license=('MIT') +depends=('curl' 'openssl' 'zlib') +makedepends=('rust') +source=("https://github.com/lu-zero/cargo-c/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz" + "${pkgname}-${pkgver}.Cargo.lock"::"https://github.com/lu-zero/cargo-c/releases/download/v${pkgver}/Cargo.lock") +sha256sums=('2bcb143317e7f579bcfd13ef3f230cf72961ccc79abb176789f8d1fdff03fd35' + '9a3d77d5690db85eac391948c0a9c934433bbfd291cca1bbe43295ea11538d9d') + +prepare() { + ln -sf "../${pkgname}-${pkgver}.Cargo.lock" "${pkgname}-${pkgver}/Cargo.lock" + cargo fetch --locked --manifest-path="${pkgname}-${pkgver}/Cargo.toml" +} + +build() { + cargo build --release --frozen --manifest-path="${pkgname}-${pkgver}/Cargo.toml" +} + +check() { + cargo test --release --frozen --manifest-path="${pkgname}-${pkgver}/Cargo.toml" +} + +package() { + cargo install --frozen --offline --no-track --path "${pkgname}-${pkgver}" --root "${pkgdir}/usr" + install -D -m644 "${pkgname}-${pkgver}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" +}