[arch-commits] Commit in upterm/repos/community-x86_64 (PKGBUILD PKGBUILD)
Frederik Schwan
freswa at gemini.archlinux.org
Fri Aug 12 19:47:50 UTC 2022
Date: Friday, August 12, 2022 @ 19:47:50
Author: freswa
Revision: 1265778
archrelease: copy trunk to community-x86_64
Added:
upterm/repos/community-x86_64/PKGBUILD
(from rev 1265777, upterm/trunk/PKGBUILD)
Deleted:
upterm/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-12 19:47:47 UTC (rev 1265777)
+++ PKGBUILD 2022-08-12 19:47:50 UTC (rev 1265778)
@@ -1,48 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
-# Contributor: Sýlvan Heuser <sylvan.heuser at gmx.net>
-pkgname=upterm
-pkgver=0.8.2
-pkgrel=1
-pkgdesc='Secure Terminal Sharing, an alternative to tmate'
-arch=('x86_64')
-url="https://github.com/owenthereal/upterm"
-license=('Apache')
-depends=('glibc')
-makedepends=('go')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/owenthereal/upterm/archive/v${pkgver}.tar.gz")
-sha256sums=('4b85cf8207ffce051f2c391905fd58514c98c3fd5ff890d7340fcfd3a0ea7b8e')
-
-prepare() {
- cd "${pkgname}-${pkgver}"
-
- mkdir -p build/
-}
-
-build() {
- cd "${pkgname}-${pkgver}"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
- go build -o build ./cmd/...
- build/gendoc
-}
-
-check() {
- cd "${pkgname}-${pkgver}"
- go test ./...
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- install -Dm755 "build/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
- install -Dm755 "build/${pkgname}d" "${pkgdir}/usr/bin/${pkgname}d"
- install -dm755 "${pkgdir}/usr/share/man"
- cp -av etc/man/* "${pkgdir}/usr/share/man/"
- install -Dm644 "etc/completion/upterm.bash_completion.sh" "${pkgdir}/usr/share/bash-completion/completions/upterm"
- install -Dm644 "etc/completion/upterm.zsh_completion" "${pkgdir}/usr/share/zsh/site-functions/_upterm"
- install -Dm644 systemd/uptermd.service "${pkgdir}/usr/lib/systemd/system/uptermd.service"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: upterm/repos/community-x86_64/PKGBUILD (from rev 1265777, upterm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-12 19:47:50 UTC (rev 1265778)
@@ -0,0 +1,48 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
+# Contributor: Sýlvan Heuser <sylvan.heuser at gmx.net>
+pkgname=upterm
+pkgver=0.9.0
+pkgrel=1
+pkgdesc='Secure Terminal Sharing, an alternative to tmate'
+arch=('x86_64')
+url="https://github.com/owenthereal/upterm"
+license=('Apache')
+depends=('glibc')
+makedepends=('go')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/owenthereal/upterm/archive/v${pkgver}.tar.gz")
+sha256sums=('1da4adcf80efff58ee8caadf402f86b4eead4bcc2783a76eb58a6b7b8b685f45')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+
+ mkdir -p build/
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
+ go build -o build ./cmd/...
+ build/gendoc
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ go test ./...
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ install -Dm755 "build/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm755 "build/${pkgname}d" "${pkgdir}/usr/bin/${pkgname}d"
+ install -dm755 "${pkgdir}/usr/share/man"
+ cp -av etc/man/* "${pkgdir}/usr/share/man/"
+ install -Dm644 "etc/completion/upterm.bash_completion.sh" "${pkgdir}/usr/share/bash-completion/completions/upterm"
+ install -Dm644 "etc/completion/upterm.zsh_completion" "${pkgdir}/usr/share/zsh/site-functions/_upterm"
+ install -Dm644 systemd/uptermd.service "${pkgdir}/usr/lib/systemd/system/uptermd.service"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list