[arch-commits] Commit in srrdb-terminal-client/trunk (PKGBUILD)
Justin Kromlinger
hashworks at gemini.archlinux.org
Thu May 12 06:34:13 UTC 2022
Date: Thursday, May 12, 2022 @ 06:34:12
Author: hashworks
Revision: 1198419
upgpkg: srrdb-terminal-client 1.2.0-1
Modified:
srrdb-terminal-client/trunk/PKGBUILD
----------+
PKGBUILD | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-12 06:05:47 UTC (rev 1198418)
+++ PKGBUILD 2022-05-12 06:34:12 UTC (rev 1198419)
@@ -1,23 +1,25 @@
# Maintainer: Justin Kromlinger <hashworks at archlinux.org>
pkgname=srrdb-terminal-client
-pkgver=1.1.7
-pkgrel=3
+pkgver=1.2.0
+pkgrel=1
pkgdesc="A terminal client to access srrdb.com"
arch=("x86_64")
url="https://github.com/hashworks/srrdb-Terminal-Client"
license=("GPL3")
-depends=('glibc')
-makedepends=('go')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('9fe7a03cd53d96a7afab1679e156e6a4bb5aae648415bd60955971a0ad533bc9')
+depends=('glibc') # because of linkmode external
+makedepends=('go' 'git')
+source=("git+${url}.git#tag=v${pkgver}?signed")
+validpgpkeys=('5C81C9D6C8D7475DF65A0C884FE7F4FEAC8EBE67')
+sha256sums=('SKIP')
prepare(){
- cd "srrdb-Terminal-Client-${pkgver}"
+ cd "srrdb-Terminal-Client"
mkdir -p build/
}
build() {
- cd "srrdb-Terminal-Client-${pkgver}"
+ cd "srrdb-Terminal-Client"
+ export CGO_ENABLED=0
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
@@ -33,12 +35,12 @@
}
check() {
- cd "srrdb-Terminal-Client-${pkgver}"
+ cd "srrdb-Terminal-Client"
go test .
}
package() {
- cd "srrdb-Terminal-Client-${pkgver}"
+ cd "srrdb-Terminal-Client"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm755 "build/srrdb-Terminal-Client" "${pkgdir}/usr/bin/srrdb"
}
More information about the arch-commits
mailing list