[arch-commits] Commit in (mandown mandown/repos mandown/trunk mandown/trunk/PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Thu Jan 7 23:17:14 UTC 2021
Date: Thursday, January 7, 2021 @ 23:17:14
Author: jelle
Revision: 812936
New make dependency of arch-rebuild-order
Added:
mandown/
mandown/repos/
mandown/trunk/
mandown/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Added: mandown/trunk/PKGBUILD
===================================================================
--- mandown/trunk/PKGBUILD (rev 0)
+++ mandown/trunk/PKGBUILD 2021-01-07 23:17:14 UTC (rev 812936)
@@ -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