[arch-commits] Commit in podman-dnsname/repos/community-x86_64 (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Fri Mar 26 18:55:18 UTC 2021
Date: Friday, March 26, 2021 @ 18:55:17
Author: foxboron
Revision: 904662
archrelease: copy trunk to community-x86_64
Added:
podman-dnsname/repos/community-x86_64/PKGBUILD
(from rev 904661, podman-dnsname/trunk/PKGBUILD)
Deleted:
podman-dnsname/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 41 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-26 18:55:10 UTC (rev 904661)
+++ PKGBUILD 2021-03-26 18:55:17 UTC (rev 904662)
@@ -1,37 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-
-pkgname=podman-dnsname
-_pkgname=dnsname
-pkgver=1.1.1
-pkgrel=1
-pkgdesc="name resolution for containers"
-arch=("x86_64")
-url="https://github.com/containers/dnsname"
-license=("APACHE")
-makedepends=("git" "go")
-_commit=c654c95366ac5f309ca3e5727c9b858864247328
-source=("git+${url}.git#commit=${_commit}")
-validpgpkeys=("B7DBDCA456F7335E91F1C25CD3624C551D0515C4")
-sha256sums=('SKIP')
-
-
-build() {
- cd "${_pkgname}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath -mod=readonly -modcacherw"
- make
-}
-
-# check() {
-# cd "${_pkgname}"
-# go test ./...
-# }
-
-package() {
- cd "${_pkgname}"
- make PREFIX="/usr" LIBEXECDIR="/usr/lib/cni" DESTDIR="${pkgdir}" install
- install -vDm 755 "$pkgdir/usr/lib/cni/dnsname" -t "$pkgdir/opt/cni/bin/"
-}
Copied: podman-dnsname/repos/community-x86_64/PKGBUILD (from rev 904661, podman-dnsname/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-26 18:55:17 UTC (rev 904662)
@@ -0,0 +1,41 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=podman-dnsname
+_pkgname=dnsname
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="name resolution for containers"
+arch=("x86_64")
+url="https://github.com/containers/dnsname"
+license=("APACHE")
+makedepends=("git" "go")
+_commit=3b29247c46d2811610ad57dd9fdae61157532a5b #refs/tags/v1.2.0^{}
+source=("git+${url}.git#commit=${_commit}")
+validpgpkeys=("B7DBDCA456F7335E91F1C25CD3624C551D0515C4")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd ${_pkgname}
+ git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+build() {
+ cd "${_pkgname}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath -mod=readonly -modcacherw"
+ make
+}
+
+# check() {
+# cd "${_pkgname}"
+# go test ./...
+# }
+
+package() {
+ cd "${_pkgname}"
+ make PREFIX="/usr" LIBEXECDIR="/usr/lib/cni" DESTDIR="${pkgdir}" install
+ install -vDm 755 "$pkgdir/usr/lib/cni/dnsname" -t "$pkgdir/opt/cni/bin/"
+}
More information about the arch-commits
mailing list