[arch-commits] Commit in tea/trunk (PKGBUILD)

George Rawlinson grawlinson at gemini.archlinux.org
Fri Apr 29 02:07:01 UTC 2022


    Date: Friday, April 29, 2022 @ 02:07:01
  Author: grawlinson
Revision: 1191750

upgpkg: tea; go 1.18 rebuild

Modified:
  tea/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-29 02:06:45 UTC (rev 1191749)
+++ PKGBUILD	2022-04-29 02:07:01 UTC (rev 1191750)
@@ -3,17 +3,25 @@
 
 pkgname=tea
 pkgver=0.8.0
-pkgrel=1
-pkgdesc="A command line tool to interact with Gitea servers"
+pkgrel=2
+pkgdesc='A command line tool to interact with Gitea servers'
 arch=('x86_64')
-url="https://gitea.com/gitea/tea"
+url='https://gitea.com/gitea/tea'
 license=('MIT')
-makedepends=('go')
+depends=('glibc')
+makedepends=('git' 'go')
 replaces=('gitea-tea')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('deb67690c92cb2b48612ddf1cf5fb7efed6a6ad516e41956c26981b8abf94854ad6af47daa526242d8632d21b30b07dd681856434b5097c2ce75345ab970da4f')
-b2sums=('689fe4df71ed5acc8d9a0050970c33f1d659623ce94d08e75cac22cf84b3be203818477a509c0c12d2c0ab90b99c5004e1d6052fc487f4c23c33f52f9f4673ae')
+options=('!lto')
+_commit='1c690c5ff862f85ef44b90a5e8f426b669b0128c'
+source=("$pkgname::git+$url#commit=$_commit")
+b2sums=('SKIP')
 
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed 's/^v//'
+}
+
 prepare() {
   cd "$pkgname"
 



More information about the arch-commits mailing list