[arch-commits] Commit in acme-redirect/repos/community-x86_64 (PKGBUILD PKGBUILD)
Kpcyrd
kpcyrd at archlinux.org
Thu May 21 14:18:07 UTC 2020
Date: Thursday, May 21, 2020 @ 14:18:06
Author: kpcyrd
Revision: 631240
archrelease: copy trunk to community-x86_64
Added:
acme-redirect/repos/community-x86_64/PKGBUILD
(from rev 631239, acme-redirect/trunk/PKGBUILD)
Deleted:
acme-redirect/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 126 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 67 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-21 14:17:53 UTC (rev 631239)
+++ PKGBUILD 2020-05-21 14:18:06 UTC (rev 631240)
@@ -1,59 +0,0 @@
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-
-pkgname=acme-redirect
-pkgver=0.2.0
-pkgrel=1
-pkgdesc='Minimal http daemon that answers acme challenges and redirects everything else to https'
-url='https://github.com/kpcyrd/acme-redirect'
-arch=('x86_64')
-license=('GPL3')
-depends=('openssl')
-makedepends=('cargo' 'scdoc')
-backup=('etc/acme-redirect.conf')
-source=(https://github.com/kpcyrd/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
- https://github.com/kpcyrd/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc)
-sha512sums=('27066dd99e80903e26e55f0898ad6172fc8d3a1b81a9bf88fd014798f772c625a19802363a740a78a9cb52a3ca370a52de4f623cef9cf74d18675a5a39e5c489'
- 'SKIP')
-b2sums=('3af6c0e2012c3d9323c2f72f11a4f8cb0e8fa5aeb975d51b03187f93cb79be9f8a714d823cb638f3aae00300d337672f7c7b52226b3177af5896df2c3aa17372'
- 'SKIP')
-
-validpgpkeys=("64B13F7117D6E07D661BBCE0FE763A64F5E54FD6")
-
-build() {
- cd "${pkgname}-${pkgver}"
- cargo build --release --locked
-}
-
-check() {
- cd "${pkgname}-${pkgver}"
- cargo test --release --locked
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- install -Dm 755 -t "${pkgdir}/usr/bin" \
- target/release/acme-redirect
-
- # install completions
- install -d "${pkgdir}/usr/share/bash-completion/completions" \
- "${pkgdir}/usr/share/zsh/site-functions" \
- "${pkgdir}/usr/share/fish/vendor_completions.d"
- "${pkgdir}/usr/bin/acme-redirect" completions bash > "${pkgdir}/usr/share/bash-completion/completions/acme-redirect"
- "${pkgdir}/usr/bin/acme-redirect" completions zsh > "${pkgdir}/usr/share/zsh/site-functions/_acme-redirect"
- "${pkgdir}/usr/bin/acme-redirect" completions fish > "${pkgdir}/usr/share/fish/vendor_completions.d/acme-redirect.fish"
-
- # install configs
- install -dm 755 "${pkgdir}/etc/acme-redirect.d"
- install -Dm 644 -t "${pkgdir}/etc" \
- contrib/confs/acme-redirect.conf
-
- # install systemd configs
- install -Dm 644 -t "${pkgdir}/usr/lib/systemd/system" \
- contrib/systemd/acme-redirect-renew.service \
- contrib/systemd/acme-redirect-renew.timer \
- contrib/systemd/acme-redirect.service
- install -Dm 644 contrib/systemd/acme-redirect.sysusers "${pkgdir}/usr/lib/sysusers.d/acme-redirect.conf"
- install -Dm 644 contrib/systemd/acme-redirect.tmpfiles "${pkgdir}/usr/lib/tmpfiles.d/acme-redirect.conf"
-}
-
-# vim: ts=2 sw=2 et:
Copied: acme-redirect/repos/community-x86_64/PKGBUILD (from rev 631239, acme-redirect/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-05-21 14:18:06 UTC (rev 631240)
@@ -0,0 +1,67 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+
+pkgname=acme-redirect
+pkgver=0.3.0
+pkgrel=1
+pkgdesc='Minimal http daemon that answers acme challenges and redirects everything else to https'
+url='https://github.com/kpcyrd/acme-redirect'
+arch=('x86_64')
+license=('GPL3')
+depends=('openssl')
+makedepends=('cargo' 'scdoc')
+backup=('etc/acme-redirect.conf')
+source=(https://github.com/kpcyrd/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
+ https://github.com/kpcyrd/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc)
+sha512sums=('bec41abfcfc986fec8dfaa76db36f8dda226ea05b57ec550251116f8944baa0b28c1dda18ac5eeaea43d6cfba2ed9958c3434c6799934f07465a5bd706f5d4ea'
+ 'SKIP')
+b2sums=('f5dbebd289749b225a182b34f765ab9b88e23855258546bc7e594f16ea5ed726a70e4b4a0839f10b9b10f3271030f2ceb85cf563acba2fff9b9363f4199763b7'
+ 'SKIP')
+
+validpgpkeys=("64B13F7117D6E07D661BBCE0FE763A64F5E54FD6")
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ cargo build --release --locked
+ make docs
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ cargo test --release --locked
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ install -Dm 755 -t "${pkgdir}/usr/bin" \
+ target/release/acme-redirect
+
+ # install completions
+ install -d "${pkgdir}/usr/share/bash-completion/completions" \
+ "${pkgdir}/usr/share/zsh/site-functions" \
+ "${pkgdir}/usr/share/fish/vendor_completions.d"
+ "${pkgdir}/usr/bin/acme-redirect" completions bash > "${pkgdir}/usr/share/bash-completion/completions/acme-redirect"
+ "${pkgdir}/usr/bin/acme-redirect" completions zsh > "${pkgdir}/usr/share/zsh/site-functions/_acme-redirect"
+ "${pkgdir}/usr/bin/acme-redirect" completions fish > "${pkgdir}/usr/share/fish/vendor_completions.d/acme-redirect.fish"
+
+ # install configs
+ install -Dm 644 contrib/confs/acme-redirect.conf -t "${pkgdir}/etc"
+ install -Dm 644 contrib/confs/certs.d/example.com.conf "${pkgdir}/etc/acme-redirect.d/example.com.conf.sample"
+
+ # install systemd configs
+ install -Dm 644 -t "${pkgdir}/usr/lib/systemd/system" \
+ contrib/systemd/acme-redirect-renew.service \
+ contrib/systemd/acme-redirect-renew.timer \
+ contrib/systemd/acme-redirect.service
+ install -Dm 644 contrib/systemd/acme-redirect.sysusers "${pkgdir}/usr/lib/sysusers.d/acme-redirect.conf"
+ install -Dm 644 contrib/systemd/acme-redirect.tmpfiles "${pkgdir}/usr/lib/tmpfiles.d/acme-redirect.conf"
+
+ # install docs
+ install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 -t "${pkgdir}/usr/share/man/man1" \
+ contrib/docs/acme-redirect.1
+ install -Dm 644 -t "${pkgdir}/usr/share/man/man5" \
+ contrib/docs/acme-redirect.conf.5 \
+ contrib/docs/acme-redirect.d.5
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list