Date: Thursday, November 17, 2022 @ 21:21:19 Author: alerque Revision: 1349420
archrelease: copy trunk to community-x86_64 Added: git-absorb/repos/community-x86_64/PKGBUILD (from rev 1349419, git-absorb/trunk/PKGBUILD) Deleted: git-absorb/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 94 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 47 insertions(+), 47 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-11-17 21:21:10 UTC (rev 1349419) +++ PKGBUILD 2022-11-17 21:21:19 UTC (rev 1349420) @@ -1,47 +0,0 @@ -# Maintainer: Orhun Parmaksız <or...@archlinux.org> -# Maintainer: Caleb Maclennan <ca...@alerque.com> -# Contributor: AsamK <as...@gmx.de> - -pkgname=git-absorb -pkgver=0.6.8 -pkgrel=1 -pkgdesc="git commit --fixup, but automatic" -arch=('x86_64') -url="https://github.com/tummychow/git-absorb" -license=('BSD') -depends=('libgit2') -makedepends=('cargo') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tummychow/git-absorb/archive/${pkgver}.tar.gz") -sha256sums=('97cbd7aa532fccdd5e32944027167d66e6f4b76d40981d91859d3235c9692b9b') - -prepare() { - cd "${pkgname}-${pkgver}" - LIBGIT2_SYS_USE_PKG_CONFIG=1 cargo fetch --locked - mkdir completions/ -} - -build() { - cd "${pkgname}-${pkgver}" - LIBGIT2_SYS_USE_PKG_CONFIG=1 cargo build --release --frozen - "target/release/$pkgname" --gen-completions bash > "completions/$pkgname.bash" - "target/release/$pkgname" --gen-completions fish > "completions/$pkgname.fish" - "target/release/$pkgname" --gen-completions zsh > "completions/_$pkgname" -} - -check() { - cd "${pkgname}-${pkgver}" - LIBGIT2_SYS_USE_PKG_CONFIG=1 cargo test --frozen -} - -package() { - cd "${pkgname}-${pkgver}" - install -Dm 755 target/release/"${pkgname}" -t "${pkgdir}/usr/bin/" - install -Dm 644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md" - install -Dm 644 "LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -Dm 644 "Documentation/${pkgname}.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1" - install -Dm 644 "completions/$pkgname.bash" "${pkgdir}/usr/share/bash-completion/completions/$pkgname" - install -Dm 644 "completions/$pkgname.fish" -t "${pkgdir}/usr/share/fish/vendor_completions.d" - install -Dm 644 "completions/_$pkgname" -t "${pkgdir}/usr/share/zsh/site-functions" -} - -# vim: ts=2 sw=2 et: Copied: git-absorb/repos/community-x86_64/PKGBUILD (from rev 1349419, git-absorb/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-11-17 21:21:19 UTC (rev 1349420) @@ -0,0 +1,47 @@ +# Maintainer: Orhun Parmaksız <or...@archlinux.org> +# Maintainer: Caleb Maclennan <ca...@alerque.com> +# Contributor: AsamK <as...@gmx.de> + +pkgname=git-absorb +pkgver=0.6.9 +pkgrel=1 +pkgdesc="git commit --fixup, but automatic" +arch=('x86_64') +url="https://github.com/tummychow/git-absorb" +license=('BSD') +depends=('libgit2') +makedepends=('cargo') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tummychow/git-absorb/archive/${pkgver}.tar.gz") +sha256sums=('feaee35e6771d66d6d895a69d59d812cfbcabbecaa70ece64f87528a8c3c2fb5') + +prepare() { + cd "${pkgname}-${pkgver}" + LIBGIT2_SYS_USE_PKG_CONFIG=1 cargo fetch --locked + mkdir completions/ +} + +build() { + cd "${pkgname}-${pkgver}" + LIBGIT2_SYS_USE_PKG_CONFIG=1 cargo build --release --frozen + "target/release/$pkgname" --gen-completions bash > "completions/$pkgname.bash" + "target/release/$pkgname" --gen-completions fish > "completions/$pkgname.fish" + "target/release/$pkgname" --gen-completions zsh > "completions/_$pkgname" +} + +check() { + cd "${pkgname}-${pkgver}" + LIBGIT2_SYS_USE_PKG_CONFIG=1 cargo test --frozen +} + +package() { + cd "${pkgname}-${pkgver}" + install -Dm 755 target/release/"${pkgname}" -t "${pkgdir}/usr/bin/" + install -Dm 644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md" + install -Dm 644 "LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm 644 "Documentation/${pkgname}.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1" + install -Dm 644 "completions/$pkgname.bash" "${pkgdir}/usr/share/bash-completion/completions/$pkgname" + install -Dm 644 "completions/$pkgname.fish" -t "${pkgdir}/usr/share/fish/vendor_completions.d" + install -Dm 644 "completions/_$pkgname" -t "${pkgdir}/usr/share/zsh/site-functions" +} + +# vim: ts=2 sw=2 et: