[arch-commits] Commit in hostess/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Thu Mar 11 20:44:57 UTC 2021
Date: Thursday, March 11, 2021 @ 20:44:57
Author: shibumi
Revision: 887584
archrelease: copy trunk to community-x86_64
Added:
hostess/repos/community-x86_64/PKGBUILD
(from rev 887583, hostess/trunk/PKGBUILD)
Deleted:
hostess/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-11 20:44:51 UTC (rev 887583)
+++ PKGBUILD 2021-03-11 20:44:57 UTC (rev 887584)
@@ -1,37 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=hostess
-pkgver=0.5.2
-pkgrel=2
-pkgdesc="An idempotent command-line utility for managing your /etc/hosts file."
-url="https://github.com/cbednarski/hostess"
-arch=("x86_64")
-license=('MIT')
-depends=('glibc')
-makedepends=("go")
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/cbednarski/hostess/archive/v${pkgver}.tar.gz")
-sha512sums=('47c81318cdb1c62c4112612e3e93cb3a171a8daf007e123212ba459efdf73b7dbc14871ee07e9e69af37750f2eb74c4d852c6c7c252788248698b762587638dc')
-
-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 -mod=readonly -modcacherw"
- go build -ldflags "-linkmode=external" -o "${pkgname}-bin"
-}
-
-check() {
- cd "${pkgname}-${pkgver}"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- go test -v
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- install -Dm755 "${pkgname}-bin" "${pkgdir}/usr/bin/${pkgname}"
-}
Copied: hostess/repos/community-x86_64/PKGBUILD (from rev 887583, hostess/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-11 20:44:57 UTC (rev 887584)
@@ -0,0 +1,37 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=hostess
+pkgver=0.5.2
+pkgrel=3
+pkgdesc="An idempotent command-line utility for managing your /etc/hosts file."
+url="https://github.com/cbednarski/hostess"
+arch=("x86_64")
+license=('MIT')
+depends=('glibc')
+makedepends=("go")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/cbednarski/hostess/archive/v${pkgver}.tar.gz")
+sha512sums=('47c81318cdb1c62c4112612e3e93cb3a171a8daf007e123212ba459efdf73b7dbc14871ee07e9e69af37750f2eb74c4d852c6c7c252788248698b762587638dc')
+
+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 -mod=readonly -modcacherw"
+ go build -ldflags "-linkmode=external" -o "${pkgname}-bin"
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ go test -v
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ install -Dm755 "${pkgname}-bin" "${pkgdir}/usr/bin/${pkgname}"
+}
More information about the arch-commits
mailing list