[arch-commits] Commit in cocogitto/repos/community-x86_64 (PKGBUILD PKGBUILD)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Wed Jan 19 00:16:02 UTC 2022
Date: Wednesday, January 19, 2022 @ 00:16:01
Author: orhun
Revision: 1110228
archrelease: copy trunk to community-x86_64
Added:
cocogitto/repos/community-x86_64/PKGBUILD
(from rev 1110227, cocogitto/trunk/PKGBUILD)
Deleted:
cocogitto/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-19 00:15:54 UTC (rev 1110227)
+++ PKGBUILD 2022-01-19 00:16:01 UTC (rev 1110228)
@@ -1,50 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com
-# Contributor: orhun <orhunparmaksiz at gmail.com>
-
-pkgname=cocogitto
-pkgver=4.0.1
-pkgrel=2
-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=('1a779b4c03bcb01df4ad795144516714964f3837b683df4105ed220ae79a5c2c')
-
-prepare() {
- cd "$_archive"
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
- cd "$_archive"
- cargo build --frozen --release
-}
-
-check() {
- cd "$_archive"
- # Test suite is not atomic, relies on user environment such as git user configs
- # cargo test --frozen
-}
-
-package() {
- cd "$_archive"
- for bin in coco cog; do
- local target="target/release/$bin"
- install -Dm0755 -t "$pkgdir/usr/bin/" "$target"
- local gen="$target "
- [[ $bin == coco ]] && gen+='--completion' || gen+='generate-completions'
- $gen bash | install -Dm0644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/$bin"
- $gen fish | install -Dm0644 /dev/stdin "$pkgdir/usr/share/fish/vendor_completions.d/$bin.fish"
- $gen zsh | install -Dm0644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_$bin"
- done
- install -Dm0644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md
- install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-}
Copied: cocogitto/repos/community-x86_64/PKGBUILD (from rev 1110227, cocogitto/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-19 00:16:01 UTC (rev 1110228)
@@ -0,0 +1,50 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+
+pkgname=cocogitto
+pkgver=4.1.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=('0465267125058922462c197584007b6c92b08230acf21a5057faf5f4f5667d72')
+
+prepare() {
+ cd "$_archive"
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+ cd "$_archive"
+ cargo build --frozen --release
+}
+
+check() {
+ cd "$_archive"
+ # Test suite is not atomic, relies on user environment such as git user configs
+ # cargo test --frozen
+}
+
+package() {
+ cd "$_archive"
+ for bin in coco cog; do
+ local target="target/release/$bin"
+ install -Dm0755 -t "$pkgdir/usr/bin/" "$target"
+ local gen="$target "
+ [[ $bin == coco ]] && gen+='--completion' || gen+='generate-completions'
+ $gen bash | install -Dm0644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/$bin"
+ $gen fish | install -Dm0644 /dev/stdin "$pkgdir/usr/share/fish/vendor_completions.d/$bin.fish"
+ $gen zsh | install -Dm0644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_$bin"
+ done
+ install -Dm0644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}
More information about the arch-commits
mailing list