[arch-commits] Commit in mkcert/repos (community-x86_64 community-x86_64/PKGBUILD)

Christian Rebischke shibumi at archlinux.org
Tue Dec 10 18:21:04 UTC 2019


    Date: Tuesday, December 10, 2019 @ 18:21:03
  Author: shibumi
Revision: 536540

archrelease: copy trunk to community-x86_64

Added:
  mkcert/repos/community-x86_64/
  mkcert/repos/community-x86_64/PKGBUILD
    (from rev 536539, mkcert/trunk/PKGBUILD)

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: mkcert/repos/community-x86_64/PKGBUILD (from rev 536539, mkcert/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-12-10 18:21:03 UTC (rev 536540)
@@ -0,0 +1,26 @@
+# 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=2
+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}"
+}
+
+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