Date: Monday, January 23, 2023 @ 16:41:18
  Author: orhun
Revision: 1387952

archrelease: copy trunk to community-x86_64

Added:
  cocogitto/repos/community-x86_64/PKGBUILD
    (from rev 1387951, cocogitto/trunk/PKGBUILD)
Deleted:
  cocogitto/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  118 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-23 16:41:03 UTC (rev 1387951)
+++ PKGBUILD    2023-01-23 16:41:18 UTC (rev 1387952)
@@ -1,59 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]
-# Maintainer: Orhun Parmaksız <[email protected]>
-
-pkgname=cocogitto
-_bin=cog
-pkgver=5.3.0
-pkgrel=1
-pkgdesc='Set of CLI tools for the conventional commit and semver 
specifications'
-arch=(x86_64)
-url="https://github.com/$pkgname/$pkgname";
-license=(MIT)
-depends=(git
-         gcc-libs
-         libgit2
-         libgit2.so
-         zlib)
-makedepends=(cargo)
-_archive="$pkgname-$pkgver"
-source=("$url/archive/$pkgver/$_archive.tar.gz")
-sha256sums=('c95a8d3d0fd1ca4f122b9e9077e8ff79f1c8a180f2cb5a0afcc6e236495984b5')
-
-prepare() {
-       cd "$_archive"
-       cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-       mkdir {completions,man}
-}
-
-build() {
-       cd "$_archive"
-       cargo build --frozen --release
-       local compgen="target/release/$_bin generate-completions"
-       $compgen bash > "completions/$_bin"
-       $compgen fish > "completions/$_bin.fish"
-       $compgen zsh  > "completions/_$_bin"
-       local mangen="target/release/$_bin generate-manpage"
-       $mangen cog > "man/$_bin.1"
-       for cmd in 'check' 'commit' 'edit' 'log' 'verify' \
-               'changelog' 'bump' 'init' 'install-hook' \
-               'generate-completions'; do
-               $mangen $cmd > "man/$_bin-$cmd.1"
-       done
-}
-
-check() {
-       cd "$_archive"
-       # Test suite is not atomic, relies on user environment such as git user 
configs
-       # cargo test --frozen
-}
-
-package() {
-       cd "$_archive"
-       install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$_bin"
-       install -Dm0644 -t "$pkgdir/usr/share/bash-completion/completions/" 
"completions/$_bin"
-       install -Dm0644 -t "$pkgdir/usr/share/fish/vendor_completions.d/" 
"completions/$_bin.fish"
-       install -Dm0644 -t "$pkgdir/usr/share/zsh/site-functions/" 
"completions/_$_bin"
-       install -Dm0644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md
-       install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-       find man/ -type f -exec install -Dm0644 -t "$pkgdir/usr/share/man/man1" 
{} \;
-}

Copied: cocogitto/repos/community-x86_64/PKGBUILD (from rev 1387951, 
cocogitto/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-01-23 16:41:18 UTC (rev 1387952)
@@ -0,0 +1,59 @@
+# Maintainer: Caleb Maclennan <[email protected]
+# Maintainer: Orhun Parmaksız <[email protected]>
+
+pkgname=cocogitto
+_bin=cog
+pkgver=5.3.1
+pkgrel=1
+pkgdesc='Set of CLI tools for the conventional commit and semver 
specifications'
+arch=(x86_64)
+url="https://github.com/$pkgname/$pkgname";
+license=(MIT)
+depends=(git
+         gcc-libs
+         libgit2
+         libgit2.so
+         zlib)
+makedepends=(cargo)
+_archive="$pkgname-$pkgver"
+source=("$url/archive/$pkgver/$_archive.tar.gz")
+sha256sums=('ac6847ce55ba284184d0792afb53c6579da415600bc1b01c180dd87ad34597d0')
+
+prepare() {
+       cd "$_archive"
+       cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+       mkdir {completions,man}
+}
+
+build() {
+       cd "$_archive"
+       cargo build --frozen --release
+       local compgen="target/release/$_bin generate-completions"
+       $compgen bash > "completions/$_bin"
+       $compgen fish > "completions/$_bin.fish"
+       $compgen zsh  > "completions/_$_bin"
+       local mangen="target/release/$_bin generate-manpage"
+       $mangen cog > "man/$_bin.1"
+       for cmd in 'check' 'commit' 'edit' 'log' 'verify' \
+               'changelog' 'bump' 'init' 'install-hook' \
+               'generate-completions'; do
+               $mangen $cmd > "man/$_bin-$cmd.1"
+       done
+}
+
+check() {
+       cd "$_archive"
+       # Test suite is not atomic, relies on user environment such as git user 
configs
+       # cargo test --frozen
+}
+
+package() {
+       cd "$_archive"
+       install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$_bin"
+       install -Dm0644 -t "$pkgdir/usr/share/bash-completion/completions/" 
"completions/$_bin"
+       install -Dm0644 -t "$pkgdir/usr/share/fish/vendor_completions.d/" 
"completions/$_bin.fish"
+       install -Dm0644 -t "$pkgdir/usr/share/zsh/site-functions/" 
"completions/_$_bin"
+       install -Dm0644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md
+       install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+       find man/ -type f -exec install -Dm0644 -t "$pkgdir/usr/share/man/man1" 
{} \;
+}

Reply via email to