[arch-commits] Commit in upterm/repos/community-x86_64 (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Thu May 5 18:25:05 UTC 2022
Date: Thursday, May 5, 2022 @ 18:25:05
Author: svenstaro
Revision: 1195514
archrelease: copy trunk to community-x86_64
Added:
upterm/repos/community-x86_64/PKGBUILD
(from rev 1195513, upterm/trunk/PKGBUILD)
Deleted:
upterm/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 100 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 48 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-05 18:25:02 UTC (rev 1195513)
+++ PKGBUILD 2022-05-05 18:25:05 UTC (rev 1195514)
@@ -1,52 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
-# Contributor: Sýlvan Heuser <sylvan.heuser at gmx.net>
-pkgname=upterm
-pkgver=0.7.5
-pkgrel=3
-pkgdesc='Secure Terminal Sharing, an alternative to tmate'
-arch=('x86_64')
-url="https://github.com/owenthereal/upterm"
-license=('Apache')
-depends=('glibc')
-makedepends=('go')
-optdepends=()
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/owenthereal/upterm/archive/v${pkgver}.tar.gz"
- https://github.com/owenthereal/upterm/commit/4ab9a1e2877137eaeac0b7d3362e3e1419f99119.patch)
-sha256sums=('a66026d3762a4c41add52873373f21b8d140cb73d861913bccdd67285f45febb'
- '8813217d9029b3207cf2571c25df8cca1eddb8c31e5be45a6cf61d5df210b905')
-
-prepare() {
- cd "${pkgname}-${pkgver}"
-
- patch -Np1 -i "${srcdir}"/4ab9a1e2877137eaeac0b7d3362e3e1419f99119.patch
- 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 1195513, upterm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-05 18:25:05 UTC (rev 1195514)
@@ -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.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:
More information about the arch-commits
mailing list