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

Caleb Maclennan alerque at gemini.archlinux.org
Fri Apr 15 18:40:30 UTC 2022


    Date: Friday, April 15, 2022 @ 18:40:30
  Author: alerque
Revision: 1186612

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-15 18:40:21 UTC (rev 1186611)
+++ PKGBUILD	2022-04-15 18:40:30 UTC (rev 1186612)
@@ -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.17
-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=('9523d0bed63ce35eec5a8259eb963651cd7e37ec5644ef551134068a2fb72f89')
-# 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 1186611, mdbook/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-15 18:40:30 UTC (rev 1186612)
@@ -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.18
+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=('ce357327f4443189fde307103f8008f43410ca8b738c5c61401ada9a54b8b5b5')
+# 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