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

Jelle van der Waa jelle at archlinux.org
Thu Jan 7 23:20:02 UTC 2021


    Date: Thursday, January 7, 2021 @ 23:20:02
  Author: jelle
Revision: 812941

archrelease: copy trunk to community-x86_64

Added:
  mandown/repos/community-x86_64/
  mandown/repos/community-x86_64/PKGBUILD
    (from rev 812940, mandown/trunk/PKGBUILD)

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

Copied: mandown/repos/community-x86_64/PKGBUILD (from rev 812940, mandown/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-01-07 23:20:02 UTC (rev 812941)
@@ -0,0 +1,24 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=mandown
+pkgver=0.1.2
+pkgrel=1
+arch=(x86_64)
+license=('Apache')
+url="https://gitlab.com/kornelski/mandown"
+pkgdesc="Create man pages from markdown markup"
+depends=(glibc)
+makedepends=(rust cargo)
+source=(https://gitlab.com/kornelski/mandown/-/archive/${pkgver}/mandown-${pkgver}.tar.gz)
+sha512sums=('9f22e96b3a944183903056853f701dd89f6bf14bce87580cf9714f70a5bc443f4f8a3481b92b8ee75db7d9bf07ad0ccca23727a1b0e6b1c9d8cf92cf6c479793')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  cargo build --release --all-features --target-dir=target
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  cargo build --release --locked --all-features --target-dir=target
+  install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
+}



More information about the arch-commits mailing list