[arch-commits] Commit in mkcert/repos/community-x86_64 (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Sun Jul 5 14:39:44 UTC 2020
Date: Sunday, July 5, 2020 @ 14:39:44
Author: foxboron
Revision: 657846
archrelease: copy trunk to community-x86_64
Added:
mkcert/repos/community-x86_64/PKGBUILD
(from rev 657845, mkcert/trunk/PKGBUILD)
Deleted:
mkcert/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 67 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 36 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-05 14:39:36 UTC (rev 657845)
+++ PKGBUILD 2020-07-05 14:39:44 UTC (rev 657846)
@@ -1,31 +0,0 @@
-# Maintainer : Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Simon Legner <Simon.Legner at gmail.com>
-
-pkgname=mkcert
-_package="github.com/FiloSottile/${pkgname}"
-pkgver=1.4.1
-pkgrel=3
-pkgdesc="Simple tool for making locally-trusted development certificates"
-arch=('x86_64')
-url="https://github.com/FiloSottile/mkcert"
-license=('BSD')
-makedepends=('go-pie' 'git')
-depends=('glibc')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/FiloSottile/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('23b008a06ba594f7f5a82b12d00dc129d237421f776bcbf4be04e61a99fa92d49977a616846de45ef98292e31d28bbd543bec70566d14ecfceccee8bbe49038f')
-
-build() {
- cd "${pkgname}-${pkgver}"
- go build -trimpath -ldflags "-extldflags ${LDFLAGS}"
-}
-
-check() {
- cd "${pkgname}-${pkgver}"
- go test ./...
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: mkcert/repos/community-x86_64/PKGBUILD (from rev 657845, mkcert/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-05 14:39:44 UTC (rev 657846)
@@ -0,0 +1,36 @@
+# Maintainer : Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Simon Legner <Simon.Legner at gmail.com>
+
+pkgname=mkcert
+_package="github.com/FiloSottile/${pkgname}"
+pkgver=1.4.1
+pkgrel=4
+pkgdesc="Simple tool for making locally-trusted development certificates"
+arch=('x86_64')
+url="https://github.com/FiloSottile/mkcert"
+license=('BSD')
+makedepends=('go' 'git')
+depends=('glibc')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/FiloSottile/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('23b008a06ba594f7f5a82b12d00dc129d237421f776bcbf4be04e61a99fa92d49977a616846de45ef98292e31d28bbd543bec70566d14ecfceccee8bbe49038f')
+
+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
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ go test ./...
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list