Skip to content
Snippets Groups Projects
Commit b83ba38a authored by Caleb Maclennan's avatar Caleb Maclennan
Browse files

upgpkg: 0.8.6-1

parent 4d886bf5
No related branches found
No related tags found
No related merge requests found
......@@ -3,8 +3,8 @@
# Contributor: Knut Ahlers <knut at ahlers dot me>
pkgname=dust
pkgver=0.8.5
_commit='2fe91806c7671f3e981e627833cd2e4dab7f7ca6'
pkgver=0.8.6
_commit='b8aab2df979004d13c84006e378297af10e20777'
pkgrel=1
pkgdesc='A more intuitive version of du in rust'
arch=('x86_64')
......@@ -15,16 +15,21 @@ makedepends=('git' 'rust')
source=("$pkgname::git+$url#commit=$_commit")
b2sums=('SKIP')
pkgver() {
prepare() {
cd "$pkgname"
git describe --tags | sed 's/^v//'
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
}
prepare() {
_pkgver() {
curl -fs https://api.github.com/repos/bootandy/$pkgname/git/ref/tags/v$pkgver |
jq -r .object.sha
}
pkgver() {
cd "$pkgname"
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
git describe --tags | sed 's/^v//'
}
build() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment