diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-08-19 17:01:41 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-08-19 18:52:05 -0300 |
commit | b5e05bc89bbd559663526f4621d64ae25c97fab6 (patch) | |
tree | 137d6568724437600ba301acab494cc6ea817ca2 /testing | |
parent | dbbf288ac5860f2c695679a86c9925c8fddd7660 (diff) | |
download | aports-b5e05bc89bbd559663526f4621d64ae25c97fab6.tar.bz2 aports-b5e05bc89bbd559663526f4621d64ae25c97fab6.tar.xz |
testing/mdbook: upgrade to 0.3.1
Diffstat (limited to 'testing')
-rw-r--r-- | testing/mdbook/APKBUILD | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/testing/mdbook/APKBUILD b/testing/mdbook/APKBUILD index 1cb9e1ecd8..555f5e3344 100644 --- a/testing/mdbook/APKBUILD +++ b/testing/mdbook/APKBUILD @@ -1,12 +1,11 @@ # Maintainer: Drew DeVault <sir@cmpwn.com> pkgname=mdbook -pkgver=0.2.3 +pkgver=0.3.1 pkgrel=0 pkgdesc="mdBook is a utility to create modern online books from Markdown files" url="https://rust-lang-nursery.github.io/mdBook" arch="x86_64" license="MPL-2.0" -depends="" makedepends="rust cargo" source="$pkgname-$pkgver.tar.gz::https://github.com/rust-lang-nursery/mdBook/archive/v$pkgver.tar.gz" builddir="$srcdir/mdBook-$pkgver" @@ -14,18 +13,15 @@ export CARGO_HOME="$srcdir"/cargo export RUSTFLAGS="-C target-feature=-crt-static" build() { - cd "$builddir" cargo build --release --verbose } check() { - cd "$builddir" cargo test --all --release --verbose } package() { - cd "$builddir" install -Dm755 target/release/mdbook "$pkgdir"/usr/bin/mdbook } -sha512sums="4d339a8f51dd5e80950b0b40ba95225828d3a698ebacef1dd7de0e6771fb74111e821c1b384b334c23d54e8a21ccc14fbefe34081a4e25ecdb2823d42c9ca9b0 mdbook-0.2.3.tar.gz" +sha512sums="807dd98bd08da7f6844b9c1b4bbe5a0e4939fd69a26e9fab93559b328816aebea93b81744f3ed3ae2a34fa4c54ffe3068d178325fe720dc679d20f648243ace6 mdbook-0.3.1.tar.gz" |