[arch-commits] Commit in podman-dnsname/repos/community-x86_64 (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Fri Jul 9 12:13:23 UTC 2021
Date: Friday, July 9, 2021 @ 12:13:23
Author: foxboron
Revision: 976201
archrelease: copy trunk to community-x86_64
Added:
podman-dnsname/repos/community-x86_64/PKGBUILD
(from rev 976200, podman-dnsname/trunk/PKGBUILD)
Deleted:
podman-dnsname/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 83 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-09 12:13:16 UTC (rev 976200)
+++ PKGBUILD 2021-07-09 12:13:23 UTC (rev 976201)
@@ -1,41 +0,0 @@
-# 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/"
-}
Copied: podman-dnsname/repos/community-x86_64/PKGBUILD (from rev 976200, podman-dnsname/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-07-09 12:13:23 UTC (rev 976201)
@@ -0,0 +1,42 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=podman-dnsname
+_pkgname=dnsname
+pkgver=1.2.0
+pkgrel=2
+pkgdesc="name resolution for containers"
+arch=("x86_64")
+url="https://github.com/containers/dnsname"
+license=("APACHE")
+makedepends=("git" "go")
+depends=("dnsmasq")
+_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