diff options
author | Marin | 2021-04-11 17:57:48 +0200 |
---|---|---|
committer | Marin | 2021-04-11 17:57:48 +0200 |
commit | e0090ae0a8892eba7fc2d2a1eb9a9b8b1abc7a16 (patch) | |
tree | 1d9a620d66eab2d05b4c1e20e3cd547ecec882b5 | |
parent | b5f401344c09cab75cc174f937124d758062db95 (diff) | |
download | aur-e0090ae0a8892eba7fc2d2a1eb9a9b8b1abc7a16.tar.gz |
Merge the changes from https://github.com/marin-m/SongRec/pull/39: "Support CARGO_TARGET_DIR in Arch PKGBUILDs"
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = songrec-git pkgdesc = An open-source, unofficial Shazam client for Linux, written in Rust. - pkgver = r80.12791ee + pkgver = r92.b9695dc pkgrel = 1 url = https://github.com/marin-m/SongRec arch = x86_64 @@ -1,6 +1,6 @@ pkgname=songrec-git _pkgname=songrec -pkgver=r80.12791ee +pkgver=r92.b9695dc pkgrel=1 provides=('songrec') conflicts=('songrec') @@ -26,7 +26,7 @@ build() { package() { cd "$_pkgname" - install -Dm755 "target/release/songrec" "$pkgdir/usr/bin/songrec" + install -Dm755 "${CARGO_TARGET_DIR:-target}/release/songrec" "$pkgdir/usr/bin/songrec" install -Dm755 "packaging/rootfs/usr/share/applications/com.github.marinm.songrec.desktop" "$pkgdir/usr/share/applications/com.github.marinm.songrec.desktop" install -Dm755 "packaging/rootfs/usr/share/icons/hicolor/scalable/apps/com.github.marinm.songrec.svg" \ "$pkgdir/usr/share/icons/hicolor/scalable/apps/com.github.marinm.songrec.svg" |