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

Caleb Maclennan alerque at gemini.archlinux.org
Sat Nov 27 19:21:18 UTC 2021


    Date: Saturday, November 27, 2021 @ 19:21:18
  Author: alerque
Revision: 1055157

archrelease: copy trunk to community-x86_64

Added:
  mdbook/repos/community-x86_64/PKGBUILD
    (from rev 1055156, mdbook/trunk/PKGBUILD)
Deleted:
  mdbook/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-27 19:19:36 UTC (rev 1055156)
+++ PKGBUILD	2021-11-27 19:21:18 UTC (rev 1055157)
@@ -1,46 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Fabio 'Lolix' Loli <fabio.loli at disroot.org> -> https://github.com/FabioLolix
-# Contributor: Moritz Schönherr <moritz.schoenherr at gmail.com>
-
-pkgname=mdbook
-pkgver=0.4.13
-pkgrel=1
-pkgdesc="Create book from markdown files, like Gitbook but implemented in Rust"
-url="https://github.com/rust-lang/mdBook"
-arch=('x86_64')
-license=('MPL2')
-depends=('gcc-libs')
-makedepends=('cargo')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/rust-lang/mdBook/archive/v${pkgver}.tar.gz")
-sha256sums=('12a88a08e5c5b26810cc33b4e0ebed7cc72394f9041e8b15253e3cfac1223a7b')
-# https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md
-
-prepare() {
-  cd "mdBook-${pkgver}"
-  mkdir completions/
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
-  cd "mdBook-${pkgver}"
-  cargo build --frozen --release
-  "./target/release/$pkgname" completions bash > "completions/$pkgname.bash"
-  "./target/release/$pkgname" completions fish > "completions/$pkgname.fish"
-  "./target/release/$pkgname" completions zsh > "completions/_$pkgname"
-}
-
-check() {
-  cd "mdBook-${pkgver}"
-  cargo test --frozen
-}
-
-package() {
-  cd "mdBook-${pkgver}"
-  install -Dm 755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
-  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
-  install -Dm 644 "completions/$pkgname.bash" "$pkgdir/usr/share/bash-completion/completions/$pkgname"
-  install -Dm 644 "completions/$pkgname.fish" -t "$pkgdir/usr/share/fish/vendor_completions.d"
-  install -Dm 644 "completions/_$pkgname" -t "$pkgdir/usr/share/zsh/site-functions"
-}

Copied: mdbook/repos/community-x86_64/PKGBUILD (from rev 1055156, mdbook/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-27 19:21:18 UTC (rev 1055157)
@@ -0,0 +1,46 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Fabio 'Lolix' Loli <fabio.loli at disroot.org> -> https://github.com/FabioLolix
+# Contributor: Moritz Schönherr <moritz.schoenherr at gmail.com>
+
+pkgname=mdbook
+pkgver=0.4.14
+pkgrel=1
+pkgdesc="Create book from markdown files, like Gitbook but implemented in Rust"
+url="https://github.com/rust-lang/mdBook"
+arch=('x86_64')
+license=('MPL2')
+depends=('gcc-libs')
+makedepends=('cargo')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/rust-lang/mdBook/archive/v${pkgver}.tar.gz")
+sha256sums=('59fd3e417e9d09deac89e20467194dd9f93854c2f1a87e845816c5cec676765c')
+# https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md
+
+prepare() {
+  cd "mdBook-${pkgver}"
+  mkdir completions/
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd "mdBook-${pkgver}"
+  cargo build --frozen --release
+  "./target/release/$pkgname" completions bash > "completions/$pkgname.bash"
+  "./target/release/$pkgname" completions fish > "completions/$pkgname.fish"
+  "./target/release/$pkgname" completions zsh > "completions/_$pkgname"
+}
+
+check() {
+  cd "mdBook-${pkgver}"
+  cargo test --frozen
+}
+
+package() {
+  cd "mdBook-${pkgver}"
+  install -Dm 755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+  install -Dm 644 "completions/$pkgname.bash" "$pkgdir/usr/share/bash-completion/completions/$pkgname"
+  install -Dm 644 "completions/$pkgname.fish" -t "$pkgdir/usr/share/fish/vendor_completions.d"
+  install -Dm 644 "completions/_$pkgname" -t "$pkgdir/usr/share/zsh/site-functions"
+}



More information about the arch-commits mailing list