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

Christian Rebischke shibumi at archlinux.org
Tue Dec 10 18:13:36 UTC 2019


    Date: Tuesday, December 10, 2019 @ 18:13:36
  Author: shibumi
Revision: 536538

add mkcert to repository

Added:
  mkcert/
  mkcert/repos/
  mkcert/trunk/
  mkcert/trunk/PKGBUILD

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

Added: mkcert/trunk/PKGBUILD
===================================================================
--- mkcert/trunk/PKGBUILD	                        (rev 0)
+++ mkcert/trunk/PKGBUILD	2019-12-10 18:13:36 UTC (rev 536538)
@@ -0,0 +1,27 @@
+# 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')
+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