diff options
author | Christoph Gysin | 2021-10-05 12:47:34 +0300 |
---|---|---|
committer | Christoph Gysin | 2021-10-05 12:47:34 +0300 |
commit | 70bd6aef009984c9b55ca202779826a079af7c21 (patch) | |
tree | 1937a6a1501f34464f3ada6a64eedc43b6b26bbf /PKGBUILD | |
parent | da8728eeef449eee823f75cf56e6a9edb7008c61 (diff) | |
download | aur-70bd6aef009984c9b55ca202779826a079af7c21.tar.gz |
Add prepare() to fetch dependencies
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -2,7 +2,7 @@ pkgname=librespot-git _pkgname=librespot -pkgver=1381.8d70fd9 +pkgver=1383.095536f pkgrel=1 epoch=1 pkgdesc="Open Source Spotify client library" @@ -21,6 +21,13 @@ pkgver() { echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) } +prepare() { + cd "$_pkgname" + cargo fetch \ + --locked \ + --target "$CARCH-unknown-linux-gnu" +} + build() { cd "$_pkgname" cargo build \ |