[arch-commits] Commit in fisher/trunk (PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Sun May 29 02:12:39 UTC 2022
Date: Sunday, May 29, 2022 @ 02:12:38
Author: grawlinson
Revision: 1212865
upgpkg: fisher 4.3.2-1
* New upstream release.
* Switch source to git commit from github tarball.
Modified:
fisher/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-29 02:00:47 UTC (rev 1212864)
+++ PKGBUILD 2022-05-29 02:12:38 UTC (rev 1212865)
@@ -3,19 +3,27 @@
# Contributor: Daniel Maslowski <info at orangecms.org>
pkgname=fisher
-pkgver=4.3.1
+pkgver=4.3.2
pkgrel=1
-pkgdesc="A package manager for the fish shell"
+pkgdesc='A package manager for the fish shell'
arch=('any')
-url="https://github.com/jorgebucaran/fisher"
+url='https://github.com/jorgebucaran/fisher'
license=('MIT')
depends=('fish' 'curl')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('157d0e80c784d3b93aef03a01abd4398dfbdc6b404da091a81e0842f6c876c1c5b05513b1b142eed086433dcf44963d4fae1161df9ff544859adf472834cd163')
-b2sums=('c44a73f6499a3250bc3aa8627311ede985725389a257794955d06cdccc273755ffc827f045765e0c01028be6d3a3239dfd4f6a1433e80ac2d64491ca327dc570')
+makedepends=('git')
+# TODO add fishtape for tests
+_commit='cf4c6cc561b6b495fc8ac0c3b31482f89dd08d49'
+source=("$pkgname::git+$url#commit=$_commit")
+b2sums=('SKIP')
+pkgver() {
+ cd "$pkgname"
+
+ git describe --tags | sed 's/^v//'
+}
+
package() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
# install to global fish directory
install -vDm644 -t "$pkgdir/usr/share/fish/vendor_functions.d" functions/fisher.fish
More information about the arch-commits
mailing list